Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-18-2009, 04:07 AM
|
#1
|
LQ Newbie
Registered: Oct 2009
Posts: 21
Rep:
|
Problem facing while using SFTP
Hi All,
While I am connecting to a windows server from linux server using SFTP.
It is showing
Connecting to <IPADRESS>...
Permission denied (publickey).
Couldn't read packet: Connection reset by peer
FTP is working fine. Files are also copied in windows server also.
Is there any set up needed for SFTP?
Thanks in Advance
|
|
|
12-18-2009, 04:30 AM
|
#2
|
Member
Registered: Nov 2009
Location: Lisbon, Portugal
Distribution: Gentoo, CentOs, Ubuntu, Debian
Posts: 182
Rep:
|
Hi.
The problem that you have seems to be on Windows. It's not appropriate to this forum. Perhaps you can post it on Non-*NIX Forums
Your problem seems to be the lack of your linux pub key on windows side. I assume you are running some ssh server on windows. If you are not then you can't connect. Also notice that sftp is not ftp.
|
|
0 members found this post helpful.
|
12-18-2009, 04:35 PM
|
#3
|
Moderator
Registered: Mar 2008
Posts: 22,361
|
It is a public key issue.
|
|
|
12-18-2009, 04:52 PM
|
#4
|
Member
Registered: Dec 2009
Posts: 37
Rep:
|
The key authentication fails. There is a paramter in the configuration file controls what kinds of authentication methods will be attempted. You can choose to authenticate by keys only (in your case) or by password if key authentication fails. I don't remember which parameter it is. Read the manpage and change the parameter to allow password authentication and you would be able to sftp with password. If you don't have the priviledge to change the configuration file, you can use the option in the command line.
|
|
|
12-18-2009, 10:04 PM
|
#5
|
LQ Newbie
Registered: Oct 2009
Posts: 21
Original Poster
Rep:
|
But so far i know in linux server sftp is there by default...
But in windows server I have to setup it(install winscp) and then can generate RSA keygen for that windows server..Right??
Thanks in advance
|
|
|
12-18-2009, 10:21 PM
|
#6
|
LQ Newbie
Registered: Apr 2009
Location: Indore, India
Distribution: ubuntu, centOS,RHEL,Mandriva
Posts: 10
Rep:
|
SFTP is totally different from FTP. it is an extension of SSH.
You can login like this only if you have installed ssh server on windows.
you can also try Cygwin.
|
|
|
All times are GMT -5. The time now is 12:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|