Cannot connect via SSH Key

Advertisement

Memnoch76
Donor
Joined:
Posts:
2
Location:
US

Cannot connect via SSH Key

WinSCP Version: 4.3.5

The problem started happening when I upgraded.

Previous Working Version: 4.3.3 (Build 1340)

OS: Window 7 Ultimate

Protocol: SFTP with SCP fallback

Interface: GUI-Commander

While connecting to a Red Hat Linux server either my key in Pagent isn't being used, or is refused and I get prompted for a password. When I use the old version, it accepts my key just fine.


New Version:
. 2011-10-13 19:48:38.306 --------------------------------------------------------------------------
. 2011-10-13 19:48:38.306 WinSCP Version 4.3.5 (Build 1463) (OS 6.1.7600)
. 2011-10-13 19:48:38.306 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2011-10-13 19:48:38.306 Local account: <username>
. 2011-10-13 19:48:38.306 Login time: Thursday, October 13, 2011 7:48:38 PM
. 2011-10-13 19:48:38.307 --------------------------------------------------------------------------
. 2011-10-13 19:48:38.307 Session name: <user@host> (Stored session)
. 2011-10-13 19:48:38.307 Host name: <host> (Port: 22)
. 2011-10-13 19:48:38.307 User name: abuse (Password: No, Key file: No)
. 2011-10-13 19:48:38.307 Tunnel: No
. 2011-10-13 19:48:38.307 Transfer Protocol: SFTP (SCP)
. 2011-10-13 19:48:38.307 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2011-10-13 19:48:38.307 Proxy: none
. 2011-10-13 19:48:38.307 SSH protocol version: 2; Compression: No
. 2011-10-13 19:48:38.307 Bypass authentication: No
. 2011-10-13 19:48:38.307 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2011-10-13 19:48:38.307 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2011-10-13 19:48:38.307 SSH Bugs: -,-,-,-,-,-,-,-,-
. 2011-10-13 19:48:38.307 SFTP Bugs: -,-
. 2011-10-13 19:48:38.307 Return code variable: Autodetect; Lookup user groups: Yes
. 2011-10-13 19:48:38.307 Shell: default
. 2011-10-13 19:48:38.307 EOL: 0, UTF: 2
. 2011-10-13 19:48:38.307 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2011-10-13 19:48:38.307 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2011-10-13 19:48:38.307 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2011-10-13 19:48:38.307 Cache directory changes: Yes, Permanent: Yes
. 2011-10-13 19:48:38.307 DST mode: 1
. 2011-10-13 19:48:38.307 --------------------------------------------------------------------------
. 2011-10-13 19:48:38.348 Looking up host "<host>"
. 2011-10-13 19:48:38.356 Connecting to 209.86.88.21 port 22
. 2011-10-13 19:48:38.358 Selecting events 63 for socket 840
. 2011-10-13 19:48:38.361 Waiting for the server to continue with the initialisation
. 2011-10-13 19:48:38.361 Looking for incoming data
. 2011-10-13 19:48:38.361 Looking for network events
. 2011-10-13 19:48:38.361 Detected network event
. 2011-10-13 19:48:38.361 Enumerating network events for socket 840
. 2011-10-13 19:48:38.361 Enumerated 19 network events making 19 cumulative events for socket 840
. 2011-10-13 19:48:38.361 Handling network read event on socket 840 with error 0
. 2011-10-13 19:48:38.361 Server version: SSH-1.99-OpenSSH_3.6.1p2
. 2011-10-13 19:48:38.361 We believe remote version has SSH-2 ignore bug
. 2011-10-13 19:48:38.361 Using SSH protocol version 2
. 2011-10-13 19:48:38.361 We claim version: SSH-2.0-WinSCP_release_4.3.5
. 2011-10-13 19:48:38.361 Handling network write event on socket 840 with error 0
. 2011-10-13 19:48:38.361 Handling network connect event on socket 840 with error 0
. 2011-10-13 19:48:38.361 Waiting for the server to continue with the initialisation
. 2011-10-13 19:48:38.361 Looking for incoming data
. 2011-10-13 19:48:38.361 Looking for network events
. 2011-10-13 19:48:38.364 Detected network event
. 2011-10-13 19:48:38.364 Enumerating network events for socket 840
. 2011-10-13 19:48:38.364 Enumerated 1 network events making 1 cumulative events for socket 840
. 2011-10-13 19:48:38.364 Handling network read event on socket 840 with error 0
. 2011-10-13 19:48:38.364 Doing Diffie-Hellman group exchange
. 2011-10-13 19:48:38.364 Waiting for the server to continue with the initialisation
. 2011-10-13 19:48:38.364 Looking for incoming data
. 2011-10-13 19:48:38.364 Looking for network events
. 2011-10-13 19:48:38.406 Detected network event
. 2011-10-13 19:48:38.406 Enumerating network events for socket 840
. 2011-10-13 19:48:38.406 Enumerated 1 network events making 1 cumulative events for socket 840
. 2011-10-13 19:48:38.406 Handling network read event on socket 840 with error 0
. 2011-10-13 19:48:38.406 Doing Diffie-Hellman key exchange with hash SHA-1
. 2011-10-13 19:48:38.428 Waiting for the server to continue with the initialisation
. 2011-10-13 19:48:38.428 Looking for incoming data
. 2011-10-13 19:48:38.428 Looking for network events
. 2011-10-13 19:48:38.442 Detected network event
. 2011-10-13 19:48:38.442 Enumerating network events for socket 840
. 2011-10-13 19:48:38.442 Enumerated 1 network events making 1 cumulative events for socket 840
. 2011-10-13 19:48:38.442 Handling network read event on socket 840 with error 0
. 2011-10-13 19:48:38.472 Selecting events 63 for socket 840
. 2011-10-13 19:48:38.472 Host key fingerprint is:
. 2011-10-13 19:48:38.472 ssh-rsa 1024 42:9c:97:2d:c9:63:eb:1e:87:22:02:b4:71:f3:bc:8d
. 2011-10-13 19:48:38.473 Initialised AES-256 CBC client->server encryption
. 2011-10-13 19:48:38.473 Initialised HMAC-SHA1 client->server MAC algorithm
. 2011-10-13 19:48:38.473 Initialised AES-256 CBC server->client encryption
. 2011-10-13 19:48:38.473 Initialised HMAC-SHA1 server->client MAC algorithm
. 2011-10-13 19:48:38.473 Waiting for the server to continue with the initialisation
. 2011-10-13 19:48:38.473 Looking for incoming data
. 2011-10-13 19:48:38.473 Looking for network events
. 2011-10-13 19:48:38.515 Detected network event
. 2011-10-13 19:48:38.516 Enumerating network events for socket 840
. 2011-10-13 19:48:38.516 Enumerated 1 network events making 1 cumulative events for socket 840
. 2011-10-13 19:48:38.516 Handling network read event on socket 840 with error 0
. 2011-10-13 19:48:38.516 Pageant is running. Requesting keys.
. 2011-10-13 19:48:38.516 Failed to get reply from Pageant
! 2011-10-13 19:48:38.516 Using username "<user>".
. 2011-10-13 19:48:38.520 Waiting for the server to continue with the initialisation
. 2011-10-13 19:48:38.520 Looking for incoming data
. 2011-10-13 19:48:38.520 Looking for network events
. 2011-10-13 19:48:41.213 Detected network event
. 2011-10-13 19:48:41.213 Enumerating network events for socket 840
. 2011-10-13 19:48:41.214 Enumerated 1 network events making 1 cumulative events for socket 840
. 2011-10-13 19:48:41.214 Handling network read event on socket 840 with error 0
. 2011-10-13 19:48:41.214 Waiting for the server to continue with the initialisation
. 2011-10-13 19:48:41.214 Looking for incoming data
. 2011-10-13 19:48:41.215 Looking for network events
. 2011-10-13 19:48:41.216 Detected network event
. 2011-10-13 19:48:41.216 Enumerating network events for socket 840
. 2011-10-13 19:48:41.216 Enumerated 1 network events making 1 cumulative events for socket 840
. 2011-10-13 19:48:41.216 Handling network read event on socket 840 with error 0
. 2011-10-13 19:48:41.216 Keyboard-interactive authentication refused
. 2011-10-13 19:48:41.216 Prompt (7, SSH password, , &Password: )
. 2011-10-13 19:48:44.981 Sent password
. 2011-10-13 19:48:44.981 Waiting for the server to continue with the initialisation
. 2011-10-13 19:48:44.981 Looking for incoming data
. 2011-10-13 19:48:44.981 Looking for network events
. 2011-10-13 19:48:47.659 Detected network event
. 2011-10-13 19:48:47.659 Enumerating network events for socket 840
. 2011-10-13 19:48:47.659 Enumerated 1 network events making 1 cumulative events for socket 840
. 2011-10-13 19:48:47.659 Handling network read event on socket 840 with error 0
! 2011-10-13 19:48:47.659 Access denied
. 2011-10-13 19:48:47.665 Access denied
. 2011-10-13 19:48:47.665 Prompt (7, SSH password, , &Password: )
. 2011-10-13 19:48:50.433 Selecting events 0 for socket 840
. 2011-10-13 19:48:50.434 Disconnected: Unable to authenticate
* 2011-10-13 19:48:50.442 (ESshFatal) Connection has been unexpectedly closed. Server sent command exit status 0.
* 2011-10-13 19:48:50.442 Authentication log (see session log for details):
* 2011-10-13 19:48:50.443 Using username "<user>".
* 2011-10-13 19:48:50.443 Access denied.
* 2011-10-13 19:48:50.443 
* 2011-10-13 19:48:50.443 Authentication failed.

Old version:
. 2011-10-13 19:51:43.638 --------------------------------------------------------------------------
. 2011-10-13 19:51:43.638 WinSCP Version 4.3.3 (Build 1340) (OS 6.1.7600)
. 2011-10-13 19:51:43.638 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2011-10-13 19:51:43.638 Login time: Thursday, October 13, 2011 7:51:43 PM
. 2011-10-13 19:51:43.638 --------------------------------------------------------------------------
. 2011-10-13 19:51:43.638 Session name: <user@host> (Stored session)
. 2011-10-13 19:51:43.638 Host name: <host> (Port: 22)
. 2011-10-13 19:51:43.638 User name: <user> (Password: No, Key file: No)
. 2011-10-13 19:51:43.638 Tunnel: No
. 2011-10-13 19:51:43.638 Transfer Protocol: SFTP (SCP)
. 2011-10-13 19:51:43.638 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2011-10-13 19:51:43.638 Proxy: none
. 2011-10-13 19:51:43.638 SSH protocol version: 2; Compression: No
. 2011-10-13 19:51:43.638 Bypass authentication: No
. 2011-10-13 19:51:43.639 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2011-10-13 19:51:43.639 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2011-10-13 19:51:43.639 SSH Bugs: -,-,-,-,-,-,-,-,-
. 2011-10-13 19:51:43.639 SFTP Bugs: -,-
. 2011-10-13 19:51:43.639 Return code variable: Autodetect; Lookup user groups: Yes
. 2011-10-13 19:51:43.639 Shell: default
. 2011-10-13 19:51:43.639 EOL: 0, UTF: 2
. 2011-10-13 19:51:43.639 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2011-10-13 19:51:43.639 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2011-10-13 19:51:43.639 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2011-10-13 19:51:43.639 Cache directory changes: Yes, Permanent: Yes
. 2011-10-13 19:51:43.639 DST mode: 1
. 2011-10-13 19:51:43.639 --------------------------------------------------------------------------
. 2011-10-13 19:51:43.719 Looking up host "<host>"
. 2011-10-13 19:51:43.737 Connecting to 209.86.88.21 port 22
. 2011-10-13 19:51:43.739 Selecting events 63 for socket 800
. 2011-10-13 19:51:43.742 Waiting for the server to continue with the initialisation
. 2011-10-13 19:51:43.742 Looking for incoming data
. 2011-10-13 19:51:43.742 Looking for network events
. 2011-10-13 19:51:43.742 Detected network event
. 2011-10-13 19:51:43.742 Enumerating network events for socket 800
. 2011-10-13 19:51:43.742 Enumerated 18 network events making 18 cumulative events for socket 800
. 2011-10-13 19:51:43.742 Handling network write event on socket 800 with error 0
. 2011-10-13 19:51:43.742 Handling network connect event on socket 800 with error 0
. 2011-10-13 19:51:43.742 Looking for network events
. 2011-10-13 19:51:43.743 Detected network event
. 2011-10-13 19:51:43.743 Enumerating network events for socket 800
. 2011-10-13 19:51:43.743 Enumerated 1 network events making 1 cumulative events for socket 800
. 2011-10-13 19:51:43.743 Handling network read event on socket 800 with error 0
. 2011-10-13 19:51:43.743 Server version: SSH-1.99-OpenSSH_3.6.1p2
. 2011-10-13 19:51:43.743 We believe remote version has SSH-2 ignore bug
. 2011-10-13 19:51:43.743 Using SSH protocol version 2
. 2011-10-13 19:51:43.743 We claim version: SSH-2.0-WinSCP_release_4.3.3
. 2011-10-13 19:51:43.743 Waiting for the server to continue with the initialisation
. 2011-10-13 19:51:43.743 Looking for incoming data
. 2011-10-13 19:51:43.743 Looking for network events
. 2011-10-13 19:51:43.745 Detected network event
. 2011-10-13 19:51:43.745 Enumerating network events for socket 800
. 2011-10-13 19:51:43.745 Enumerated 1 network events making 1 cumulative events for socket 800
. 2011-10-13 19:51:43.745 Handling network read event on socket 800 with error 0
. 2011-10-13 19:51:43.745 Doing Diffie-Hellman group exchange
. 2011-10-13 19:51:43.745 Waiting for the server to continue with the initialisation
. 2011-10-13 19:51:43.745 Looking for incoming data
. 2011-10-13 19:51:43.745 Looking for network events
. 2011-10-13 19:51:43.787 Detected network event
. 2011-10-13 19:51:43.787 Enumerating network events for socket 800
. 2011-10-13 19:51:43.787 Enumerated 1 network events making 1 cumulative events for socket 800
. 2011-10-13 19:51:43.787 Handling network read event on socket 800 with error 0
. 2011-10-13 19:51:43.787 Doing Diffie-Hellman key exchange with hash SHA-1
. 2011-10-13 19:51:43.810 Waiting for the server to continue with the initialisation
. 2011-10-13 19:51:43.810 Looking for incoming data
. 2011-10-13 19:51:43.810 Looking for network events
. 2011-10-13 19:51:43.824 Detected network event
. 2011-10-13 19:51:43.824 Enumerating network events for socket 800
. 2011-10-13 19:51:43.824 Enumerated 1 network events making 1 cumulative events for socket 800
. 2011-10-13 19:51:43.824 Handling network read event on socket 800 with error 0
. 2011-10-13 19:51:43.855 Selecting events 63 for socket 800
. 2011-10-13 19:51:43.855 Host key fingerprint is:
. 2011-10-13 19:51:43.855 ssh-rsa 1024 42:9c:97:2d:c9:63:eb:1e:87:22:02:b4:71:f3:bc:8d
. 2011-10-13 19:51:43.855 Initialised AES-256 CBC client->server encryption
. 2011-10-13 19:51:43.855 Initialised HMAC-SHA1 client->server MAC algorithm
. 2011-10-13 19:51:43.855 Initialised AES-256 CBC server->client encryption
. 2011-10-13 19:51:43.855 Initialised HMAC-SHA1 server->client MAC algorithm
. 2011-10-13 19:51:43.855 Waiting for the server to continue with the initialisation
. 2011-10-13 19:51:43.855 Looking for incoming data
. 2011-10-13 19:51:43.855 Looking for network events
. 2011-10-13 19:51:43.897 Detected network event
. 2011-10-13 19:51:43.897 Enumerating network events for socket 800
. 2011-10-13 19:51:43.897 Enumerated 1 network events making 1 cumulative events for socket 800
. 2011-10-13 19:51:43.897 Handling network read event on socket 800 with error 0
. 2011-10-13 19:51:43.898 Pageant is running. Requesting keys.
. 2011-10-13 19:51:43.898 Pageant has 1 SSH-2 keys
! 2011-10-13 19:51:43.899 Using username "<user>".
. 2011-10-13 19:51:43.913 Waiting for the server to continue with the initialisation
. 2011-10-13 19:51:43.913 Looking for incoming data
. 2011-10-13 19:51:43.913 Looking for network events
. 2011-10-13 19:51:46.609 Detected network event
. 2011-10-13 19:51:46.609 Enumerating network events for socket 800
. 2011-10-13 19:51:46.609 Enumerated 1 network events making 1 cumulative events for socket 800
. 2011-10-13 19:51:46.609 Handling network read event on socket 800 with error 0
. 2011-10-13 19:51:46.611 Trying Pageant key #0
. 2011-10-13 19:51:46.611 Waiting for the server to continue with the initialisation
. 2011-10-13 19:51:46.611 Looking for incoming data
. 2011-10-13 19:51:46.611 Looking for network events
. 2011-10-13 19:51:46.613 Detected network event
. 2011-10-13 19:51:46.613 Enumerating network events for socket 800
. 2011-10-13 19:51:46.613 Enumerated 1 network events making 1 cumulative events for socket 800
. 2011-10-13 19:51:46.613 Handling network read event on socket 800 with error 0
! 2011-10-13 19:51:46.613 Authenticating with public key "rsa-key-20071019" from agent
. 2011-10-13 19:51:46.653 Sending Pageant's response
. 2011-10-13 19:51:46.654 Waiting for the server to continue with the initialisation
. 2011-10-13 19:51:46.654 Looking for incoming data
. 2011-10-13 19:51:46.654 Looking for network events
. 2011-10-13 19:51:46.656 Detected network event
. 2011-10-13 19:51:46.656 Enumerating network events for socket 800
. 2011-10-13 19:51:46.656 Enumerated 1 network events making 1 cumulative events for socket 800
. 2011-10-13 19:51:46.656 Handling network read event on socket 800 with error 0
. 2011-10-13 19:51:46.656 Access granted
. 2011-10-13 19:51:46.656 Waiting for the server to continue with the initialisation
. 2011-10-13 19:51:46.656 Looking for incoming data
. 2011-10-13 19:51:46.656 Looking for network events
. 2011-10-13 19:51:46.745 Detected network event
. 2011-10-13 19:51:46.745 Enumerating network events for socket 800
. 2011-10-13 19:51:46.745 Enumerated 1 network events making 1 cumulative events for socket 800
. 2011-10-13 19:51:46.745 Handling network read event on socket 800 with error 0
. 2011-10-13 19:51:46.746 Opened channel for session
. 2011-10-13 19:51:46.746 Waiting for the server to continue with the initialisation
. 2011-10-13 19:51:46.746 Looking for incoming data
. 2011-10-13 19:51:46.746 Looking for network events
. 2011-10-13 19:51:47.325 Detected network event
. 2011-10-13 19:51:47.325 Enumerating network events for socket 800
. 2011-10-13 19:51:47.325 Enumerated 1 network events making 1 cumulative events for socket 800
. 2011-10-13 19:51:47.325 Handling network read event on socket 800 with error 0
. 2011-10-13 19:51:47.326 Started a shell/command
. 2011-10-13 19:51:47.329 --------------------------------------------------------------------------
. 2011-10-13 19:51:47.329 Using SFTP protocol.
. 2011-10-13 19:51:47.330 Doing startup conversation with host.
> 2011-10-13 19:51:47.335 Type: SSH_FXP_INIT, Size: 5, Number: -1
> 2011-10-13 19:51:47.335 01,00,00,00,05,
. 2011-10-13 19:51:47.335 Sent 9 bytes
. 2011-10-13 19:51:47.336 There are 0 bytes remaining in the send buffer
. 2011-10-13 19:51:47.336 Looking for network events
. 2011-10-13 19:51:47.336 Timeout waiting for network events
. 2011-10-13 19:51:47.336 Waiting for another 4 bytes
. 2011-10-13 19:51:47.336 Looking for incoming data
. 2011-10-13 19:51:47.336 Looking for network events
. 2011-10-13 19:51:47.337 Detected network event
. 2011-10-13 19:51:47.337 Enumerating network events for socket 800
. 2011-10-13 19:51:47.337 Enumerated 1 network events making 1 cumulative events for socket 800
. 2011-10-13 19:51:47.337 Handling network read event on socket 800 with error 0
. 2011-10-13 19:51:47.337 Received 9 bytes (0)
. 2011-10-13 19:51:47.337 Read 4 bytes (5 pending)
. 2011-10-13 19:51:47.337 Read 5 bytes (0 pending)
< 2011-10-13 19:51:47.337 Type: SSH_FXP_VERSION, Size: 5, Number: -1
< 2011-10-13 19:51:47.337 02,00,00,00,03,
. 2011-10-13 19:51:47.337 SFTP version 3 negotiated.
. 2011-10-13 19:51:47.337 We believe the server has signed timestamps bug
. 2011-10-13 19:51:47.337 We will use UTF-8 strings for status messages only
. 2011-10-13 19:51:47.337 Limiting packet size to OpenSSH sftp-server limit of 262148 bytes
. 2011-10-13 19:51:47.342 Getting current directory name.
. 2011-10-13 19:51:47.342 Getting real path for '.'
> 2011-10-13 19:51:47.343 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
> 2011-10-13 19:51:47.343 10,00,00,00,10,00,00,00,01,2E,
. 2011-10-13 19:51:47.343 Sent 14 bytes
. 2011-10-13 19:51:47.343 There are 0 bytes remaining in the send buffer
. 2011-10-13 19:51:47.343 Looking for network events
. 2011-10-13 19:51:47.343 Timeout waiting for network events
. 2011-10-13 19:51:47.343 Waiting for another 4 bytes
. 2011-10-13 19:51:47.343 Looking for incoming data
. 2011-10-13 19:51:47.343 Looking for network events
. 2011-10-13 19:51:47.344 Detected network event
. 2011-10-13 19:51:47.344 Enumerating network events for socket 800
. 2011-10-13 19:51:47.344 Enumerated 1 network events making 1 cumulative events for socket 800
. 2011-10-13 19:51:47.344 Handling network read event on socket 800 with error 0
. 2011-10-13 19:51:47.344 Received 47 bytes (0)
. 2011-10-13 19:51:47.344 Read 4 bytes (43 pending)
. 2011-10-13 19:51:47.344 Read 43 bytes (0 pending)
< 2011-10-13 19:51:47.344 Type: SSH_FXP_NAME, Size: 43, Number: 16
< 2011-10-13 19:51:47.345 68,00,00,00,10,00,00,00,01,00,00,00,0B,2F,68,6F,6D,65,2F,61,62,75,73,65,00,
< 2011-10-13 19:51:47.345 00,00,0B,2F,68,6F,6D,65,2F,61,62,75,73,65,00,00,00,00,
. 2011-10-13 19:51:47.345 Real path is '/home/<user>'
. 2011-10-13 19:51:47.345 Listing directory "/home/<user>".
> 2011-10-13 19:51:47.345 Type: SSH_FXP_OPENDIR, Size: 20, Number: 267
> 2011-10-13 19:51:47.345 0B,00,00,01,0B,00,00,00,0B,2F,68,6F,6D,65,2F,61,62,75,73,65,
. 2011-10-13 19:51:47.345 Sent 24 bytes
. 2011-10-13 19:51:47.345 There are 0 bytes remaining in the send buffer
. 2011-10-13 19:51:47.345 Looking for network events
. 2011-10-13 19:51:47.345 Timeout waiting for network events
. 2011-10-13 19:51:47.345 Waiting for another 4 bytes
. 2011-10-13 19:51:47.345 Looking for incoming data
. 2011-10-13 19:51:47.345 Looking for network events
. 2011-10-13 19:51:47.346 Detected network event
. 2011-10-13 19:51:47.346 Enumerating network events for socket 800
. 2011-10-13 19:51:47.346 Enumerated 1 network events making 1 cumulative events for socket 800
. 2011-10-13 19:51:47.346 Handling network read event on socket 800 with error 0
. 2011-10-13 19:51:47.347 Received 17 bytes (0)
. 2011-10-13 19:51:47.347 Read 4 bytes (13 pending)
. 2011-10-13 19:51:47.347 Read 13 bytes (0 pending)
< 2011-10-13 19:51:47.347 Type: SSH_FXP_HANDLE, Size: 13, Number: 267
< 2011-10-13 19:51:47.347 66,00,00,01,0B,00,00,00,04,00,00,00,00,
> 2011-10-13 19:51:47.347 Type: SSH_FXP_READDIR, Size: 13, Number: 524
> 2011-10-13 19:51:47.347 0C,00,00,02,0C,00,00,00,04,00,00,00,00,
. 2011-10-13 19:51:47.347 Sent 17 bytes
. 2011-10-13 19:51:47.347 There are 0 bytes remaining in the send buffer
. 2011-10-13 19:51:47.347 Looking for network events
. 2011-10-13 19:51:47.347 Timeout waiting for network events
. 2011-10-13 19:51:47.347 Waiting for another 4 bytes
. 2011-10-13 19:51:47.347 Looking for incoming data
. 2011-10-13 19:51:47.347 Looking for network events
. 2011-10-13 19:51:47.374 Detected network event
. 2011-10-13 19:51:47.375 Enumerating network events for socket 800
. 2011-10-13 19:51:47.375 Enumerated 1 network events making 1 cumulative events for socket 800
. 2011-10-13 19:51:47.375 Handling network read event on socket 800 with error 0
. 2011-10-13 19:51:47.376 Waiting for another 4 bytes
. 2011-10-13 19:51:47.376 Looking for incoming data
. 2011-10-13 19:51:47.376 Looking for network events
. 2011-10-13 19:51:47.377 Detected network event
. 2011-10-13 19:51:47.377 Enumerating network events for socket 800
. 2011-10-13 19:51:47.377 Enumerated 1 network events making 1 cumulative events for socket 800
. 2011-10-13 19:51:47.377 Handling network read event on socket 800 with error 0
. 2011-10-13 19:51:47.378 Waiting for another 4 bytes
. 2011-10-13 19:51:47.378 Looking for incoming data
. 2011-10-13 19:51:47.378 Looking for network events
. 2011-10-13 19:51:47.378 Detected network event
. 2011-10-13 19:51:47.378 Enumerating network events for socket 800
. 2011-10-13 19:51:47.378 Enumerated 1 network events making 1 cumulative events for socket 800
. 2011-10-13 19:51:47.378 Handling network read event on socket 800 with error 0
. 2011-10-13 19:51:47.379 Waiting for another 4 bytes
. 2011-10-13 19:51:47.379 Looking for incoming data
. 2011-10-13 19:51:47.379 Looking for network events
. 2011-10-13 19:51:47.379 Detected network event
. 2011-10-13 19:51:47.379 Enumerating network events for socket 800
. 2011-10-13 19:51:47.379 Enumerated 1 network events making 1 cumulative events for socket 800
. 2011-10-13 19:51:47.379 Handling network read event on socket 800 with error 0
. 2011-10-13 19:51:47.380 Received 13099 bytes (0)
. 2011-10-13 19:51:47.380 Read 4 bytes (13095 pending)
. 2011-10-13 19:51:47.380 Read 13095 bytes (0 pending)
< 2011-10-13 19:51:47.380 Type: SSH_FXP_NAME, Size: 13095, Number: 524
Last edited by Memnoch76 on 2011-10-14 18:03; edited 1 time in total

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: Cannot connect via SSH Key

Make sure you are using Pageant from PuTTY 0.61 or Pageant included in WinSCP installation package.

Reply with quote

Memnoch76
Donor
Joined:
Posts:
2
Location:
US

Re: Cannot connect via SSH Key

martin wrote:

Make sure you are using Pageant from PuTTY 0.61 or Pageant included in WinSCP installation package.

Thanks, that was the issue. I'd only glanced at the changes for the current version and hadn't noticed the first change for 4.3.4 was the change to Putty 0.61. Even so I wouldn't have necessarily thought it wouldn't have been backwards compatible unless there would have been something specifically would have alerted me to that fact so I could upgrade (like an alert in the installer or something like that).

Thanks again.

Reply with quote

timbowe
Joined:
Posts:
3
Location:
Chicago, IL

I just upgraded to 5.0.2 and I'm seeing this problem again on Win7 x64. No issues on Windows XP 32.

WinSCP 5.0.2 1456
Windows 7 SP1 x64
putty 0.61
pageant 0.61

Was last working in 4.3.5.

logs show same error:
2011-10-17 11:28:16.956 Pageant is running. Requesting keys.
2011-10-17 11:28:16.956 Failed to get reply from Pageant

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

timbowe wrote:

I just upgraded to 5.0.2 and I'm seeing this problem again on Win7 x64. No issues on Windows XP 32.

WinSCP 5.0.2 1456
Windows 7 SP1 x64
putty 0.61
pageant 0.61

Was last working in 4.3.5.

logs show same error:
2011-10-17 11:28:16.956 Pageant is running. Requesting keys.
2011-10-17 11:28:16.956 Failed to get reply from Pageant
So, if you downgrade to 4.3.5 and keep the 0.61 PuTTY, it works?

Reply with quote

Advertisement

timbowe
Joined:
Posts:
3
Location:
Chicago, IL

martin wrote:

So, if you downgrade to 4.3.5 and keep the 0.61 PuTTY, it works?

Yes. I uninstalled 5.0.2, rebooted, installed 4.3.5, rebooted, and everything worked fine again.

I upgraded to 5.0.2 again, rebooted, and the error returned.


Drag and drop explorer uploads have also stopped working for me in 5.0.2, on both this Win7 64 system and my Windows XP system. Downgrading to 4.3.5 fixes it on both machines.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

I really do not know what can the problem be. And noone else have complained so far.

Anyway, can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.

Reply with quote

Advertisement

Net-burst
Joined:
Posts:
2
Location:
Kiev, Ukraine

BTW, when similar problem occured last time (https://winscp.net/tracker/662), PuTTY also was having problems authenticating through pageant. But now PuTTY works correctly and only WinSCP is having problems.

Reply with quote

dentarg
Joined:
Posts:
1

Just tried 5.0.4 beta on Win 7 x64 and I have this problem too. I have PuTTY 0.61 and Pageant works fine for PuTTY. WinSCP 4.3.5 also works fine with Pageant.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum