enVision: SFTP to winsshd prompts for a password
2 years ago
Originally Published: 2010-10-14
Article Number
000051016
Applies To
sftp
Winsshd
Issue
RSA enVision 4.0
Client is challenged for a password:

 

ssh -vvv -l nic_sshd -i /root/.ssh/machinename 1.2.3.4

 

OpenSSH_5.0p1, OpenSSL 0.9.8h 28 May 2008

debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug3: start over, passed a different list publickey,gssapi-with-mic,password
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: Trying private key: /root/.ssh/machinenamehere
debug1: read PEM private key done: type RSA
debug3: sign_and_send_pubkey
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
nic_sshd@1.2.3.4's password:

Resolution
Being challenged for a password is usually an indication that the public and private key pairs do not match, and should be reinstalled.