Windows Server 2003
1830207 Members
1608 Online
109999 Solutions
New Discussion

sftp without password by rsa key

 
patil.sanjay
Occasional Contributor

sftp without password by rsa key

Hello
Iam trying to do sftp from unix to windows by using cygwin tools in wondows server 2003. when i am doing it with password athentication it happens but, when i generate rsa key in unix server sftp stops. it shows Connection closed by remote host i need to transfer files from unix to windows server. ( sftp stops as soon i generate rsa keys )
Please put your valuable suggessions.
2 REPLIES 2
Steven Schweda
Honored Contributor

Re: sftp without password by rsa key

> [...] unix [...]

Not a useful description.
uname -a

And, perhaps:
sftp -V

> [...] when i generate rsa key in unix
> server sftp stops.

Not a useful description. As usual, showing
actual commands with their actual output can
be more helpful than vague descriptions or
interpretations.

You need to do more than "generate rsa key in
unix server". You also need to copy the
public key to the SFTP server system.

Adding "-v" to the failing "sftp" command can
be informative, too.
Alan_152
Honored Contributor

Re: sftp without password by rsa key