Private/Public Key

Advertisement

Galar
Joined:
Posts:
1

Private/Public Key

I am having issues using a private/public key pair when I try to log in. I can login with a username/password, but I get the following in the log with ssh2-rsa, ssh2-dsa, and ssh1-rsa keys:

. 2007-11-12 15:44:56.532 Looking up host ""
. 2007-11-12 15:44:56.532 Connecting to port 22
. 2007-11-12 15:45:11.822 Waiting for data timed out, asking user what to do.
. 2007-11-12 15:45:11.822 Asking user:
. 2007-11-12 15:45:11.822 Host has not answered for 15 seconds.
. 2007-11-12 15:45:11.822
. 2007-11-12 15:45:11.822 Wait for another 15 seconds? ()
. 2007-11-12 15:45:54.336 Server version: SSH-2.0-OpenSSH_4.2p1-hpn
. 2007-11-12 15:45:54.336 We claim version: SSH-2.0-WinSCP_release_4.0.5
. 2007-11-12 15:45:54.336 Using SSH protocol version 2
. 2007-11-12 15:45:54.336 Data has arrived, closing query to user.
. 2007-11-12 15:45:54.414 Doing Diffie-Hellman group exchange
. 2007-11-12 15:45:54.649 Doing Diffie-Hellman key exchange
. 2007-11-12 15:45:55.429 Host key fingerprint is:
. 2007-11-12 15:45:55.429 ssh-rsa 1024
. 2007-11-12 15:45:55.429 Initialised AES-256 client->server encryption
. 2007-11-12 15:45:55.429 Initialised HMAC-SHA1 client->server MAC algorithm
. 2007-11-12 15:45:55.429 Initialised AES-256 server->client encryption
. 2007-11-12 15:45:55.429 Initialised HMAC-SHA1 server->client MAC algorithm
! 2007-11-12 15:45:55.648 Using username "secret".
. 2007-11-12 15:45:55.664 Reading private key file "H:\Test\skiprsa.ppk"
. 2007-11-12 15:45:55.960 Offered public key
! 2007-11-12 15:45:56.039 Server refused our key
. 2007-11-12 15:45:56.039 Server refused public key
! 2007-11-12 15:45:56.132 Using keyboard-interactive authentication.
. 2007-11-12 15:45:56.148 Password: prompt from server

It will refuse the keys and then ask for a password.

It is a HPUX 11.0 server that I am trying to connect to.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,469
Location:
Prague, Czechia

Re: Private/Public Key

OK, why do you think it is problem of WinSCP?
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum