I'm using Pageant to authenticate using ssh-rsa keys (SSH2). They work like a charm in Putty (0.53b), but here's the log snippet from WinSCP2
. --------------------------------------------------------------------------
. WinSCP Version 2.1.0 (Build 119)
. Login time: 14. tammikuuta 2003 10:53:11
. --------------------------------------------------------------------------
. Session name: ****
. Host name: **** (Port: 22)
. User name: **** (Password: No, Key file: Yes)
. SSH protocol version: 2; Compression: No
. Agent forwarding: Yes; TIS/CryptoCard: No; KI: No
. Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. Ping interval: 0 sec (0 = off); Timeout: 15 sec
. SSH Bugs: A,A,A,A,A,A,A,
. Proxy: none
. Return code variable: Autodetect; Lookup user groups: Yes
. Shell: default, EOL: 0
. Local directory: default, Remote directory: home, Update: No
. Clear aliases: Yes, Unset nat.vars: Yes
. Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. --------------------------------------------------------------------------
. Looking up host "****"
. Connecting to ****
. Server version: SSH-1.99-OpenSSH_3.4p1
. We claim version: SSH-2.0-PuTTY-Local: Jan 12 2003 19:45:16
. Using SSH protocol version 2
. Doing Diffie-Hellman group exchange
. Doing Diffie-Hellman key exchange
. Host key fingerprint is:
. ssh-rsa 1024 17:df:3d:e8:25:1d:bb:63:dd:a1:b1:03:03:85:58:24
. Initialised AES-256 client->server encryption
. Initialised AES-256 server->client encryption
. Reading private key file "****"
. Pageant is running. Requesting keys.
. Pageant has 1 SSH2 keys
. Trying Pageant key #0
. This key matches configured key file
. Key refused
. Unable to authenticate
. Attempt to close connection due to fatal exception:
* Unable to authenticate
. Closing connection.
* (ESshFatal) Unable to authenticate