Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Private/Public Key

OK, why do you think it is problem of WinSCP?
Galar

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.