I am using KeePass2 and KeeAgent on Windows and attempting to connect to a Linux box using Putty and pscp.
I have configured KeeAgent per these instructions:
http://lechnology.com/software/keeagent/usage/quick-start/
The key was originally generated on linux and copied to Windows.
When I connect to the Linux box using putty, I am prompted for a password.
In order to debug I installed pscp so I could run with the -v option to get debugging information.
Here is the output of pscp:
C:\Users\Marty>pscp -v [email protected]:opentp.sh .
Looking up host "pluto.lan"
Connecting to NNN.NNN.NNN.NNN port 22
Server version: SSH-2.0-OpenSSH_5.3
Using SSH protocol version 2
We claim version: SSH-2.0-PuTTY_Release_0.63
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-256
Host key fingerprint is:
ssh-rsa 2048 NN:NN:NN:NN:NN:NN:NN:NN:NN:NN:NN:NN:NN:NN:NN:NN
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA-256 client->server MAC algorithm
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA-256 server->client MAC algorithm
Pageant is running. Requesting keys.
Pageant has 1 SSH-2 keys
Using username "marty".
Trying Pageant key #0
Server refused our key
Using SSPI from SECUR32.DLL
Attempting GSSAPI authentication
GSSAPI authentication request refused
[email protected]'s password:
Sent password
Server unexpectedly closed network connection
Fatal: Server unexpectedly closed network connection
What is a systematic way to debug this problem?