Using the follwoing setting for SessionOptions
Protocol = Protocol.Sftp,
HostName = "sftp.incendiaprepaid.co.uk",
UserName = "AutocabLive",
SshHostKey = "ssh-rsa 1024 12:06:9a:b1:4f:84:bf:6b:0a:d4:18:25:79:ec:8e:58",
I get the following error log:
. 2012-05-03 16:10:56.130 --------------------------------------------------------------------------
. 2012-05-03 16:10:56.130 WinSCP Version 5.0.6 (Build 2074) (OS 5.1.2600 Service Pack 3)
. 2012-05-03 16:10:56.130 Configuration: nul
. 2012-05-03 16:10:56.130 Local account: CLIENT-52\ASPNET
. 2012-05-03 16:10:56.130 Login time: 03 May 2012 16:10:56
. 2012-05-03 16:10:56.130 --------------------------------------------------------------------------
. 2012-05-03 16:10:56.130 Session name: AutocabLive@sftp.incendiaprepaid.co.uk (Ad-Hoc session)
. 2012-05-03 16:10:56.130 Host name: sftp.incendiaprepaid.co.uk (Port: 22)
. 2012-05-03 16:10:56.130 User name: AutocabLive (Password: No, Key file: No)
. 2012-05-03 16:10:56.130 Tunnel: No
. 2012-05-03 16:10:56.130 Transfer Protocol: SFTP
. 2012-05-03 16:10:56.130 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2012-05-03 16:10:56.130 Proxy: none
. 2012-05-03 16:10:56.130 SSH protocol version: 2; Compression: No
. 2012-05-03 16:10:56.130 Bypass authentication: No
. 2012-05-03 16:10:56.130 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2012-05-03 16:10:56.130 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2012-05-03 16:10:56.130 SSH Bugs: -,-,-,-,-,-,-,-,-,-
. 2012-05-03 16:10:56.130 SFTP Bugs: -,-
. 2012-05-03 16:10:56.130 Return code variable: Autodetect; Lookup user groups: -
. 2012-05-03 16:10:56.130 Shell: default
. 2012-05-03 16:10:56.130 EOL: 0, UTF: 2
. 2012-05-03 16:10:56.130 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2012-05-03 16:10:56.130 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2012-05-03 16:10:56.130 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2012-05-03 16:10:56.130 Cache directory changes: Yes, Permanent: Yes
. 2012-05-03 16:10:56.130 DST mode: 1
. 2012-05-03 16:10:56.130 --------------------------------------------------------------------------
. 2012-05-03 16:10:56.130 Looking up host "sftp.incendiaprepaid.co.uk"
. 2012-05-03 16:10:56.130 Connecting to 109.108.148.66 port 22
. 2012-05-03 16:10:56.193 Server version: SSH-2.0-CoreFTP-0.1.2
. 2012-05-03 16:10:56.193 Using SSH protocol version 2
. 2012-05-03 16:10:56.193 We claim version: SSH-2.0-WinSCP_release_5.0.6
. 2012-05-03 16:10:56.302 Using Diffie-Hellman with standard group "group14"
. 2012-05-03 16:10:56.302 Doing Diffie-Hellman key exchange with hash SHA-1
. 2012-05-03 16:10:56.958 Verifying host key rsa2 0x10001,0xe674cff13011165535818bff099ed0ae67933f... with fingerprint ssh-rsa 1024 12:06:9a:b1:4f:84:bf:6b:0a:d4:18:25:79:ec:8e:58
. 2012-05-03 16:10:56.958 Host key matches configured key
. 2012-05-03 16:10:56.958 Host key fingerprint is:
. 2012-05-03 16:10:56.958 ssh-rsa 1024 12:06:9a:b1:4f:84:bf:6b:0a:d4:18:25:79:ec:8e:58
. 2012-05-03 16:10:56.958 Initialised AES-256 CBC client->server encryption
. 2012-05-03 16:10:56.958 Initialised HMAC-SHA1 client->server MAC algorithm
. 2012-05-03 16:10:56.974 Initialised AES-256 CBC server->client encryption
. 2012-05-03 16:10:56.974 Initialised HMAC-SHA1 server->client MAC algorithm
! 2012-05-03 16:10:57.005 Using username "AutocabLive".
. 2012-05-03 16:10:57.036 Prompt (7, SSH password, , &Password: )
. 2012-05-03 16:10:57.036 Disconnected: Unable to authenticate
I have got Pegeant running with the appropriate ppk loaded with the passphrase entered