Operating System - HP-UX
1833784 Members
4555 Online
110063 Solutions
New Discussion

sftp with cygwin tool from unix to windows.

 
patil.sanjay
Occasional Contributor

sftp with cygwin tool from unix to windows.

Hello

I am doing sftp from hpux machine to windows 2003 server, sftp with password is working but it is not happening with rsa key I have copied id.rsa_pub to windows machine in cygwin .ssh folder as authorized_keys. Following are the errors that we are getting

debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/System/.ssh/id_rsa (40037210)
debug2: key: /home/System/.ssh/id_dsa (0)
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug3: start over, passed a different list publickey,password,keyboard-interactive
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/System/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
Connection closed by
Connection closed

Please help
1 REPLY 1
Shibin_2
Honored Contributor

Re: sftp with cygwin tool from unix to windows.

Have you checked at Windows for any errors? Your system is not receiving any reply from Windows server. Please check the logs on both servers.
Regards
Shibin