Topic "Server Refused Our Key...But Command line putty works."

Author Message


Hello, This is what I get when I try to connect.. I have already sent thme my public key and they have regestred it.. When I do the command line
c:\Program Files\PuTTY-0.53b\psftp" -i \path\to\keys\LED-identity.ppk sftp@
It works... But when I use it in Winscp, this is what I get..
. --------------------------------------------------------------------------
. WinSCP Version 3.1.0 (Build 165)
. Login time: Wednesday, July 23, 2003 12:42:00 PM
. --------------------------------------------------------------------------
. Session name:
. Host name: (Port: 22)
. User name: (Password: No, Key file: Yes)
. Transfer Protocol: SFTP
. SSH protocol version: 2; Compression: No
. Agent forwarding: No; TIS/CryptoCard: No; KI: Yes
. Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. Ping interval: 0 sec (0 = off); Timeout: 15 sec
. SSH Bugs: A,A,A,A,A,A,A,
. Proxy: none
. Return code variable: Autodetect; Lookup user groups: Yes
. Shell: default, EOL: 0
. Local directory: default, Remote directory: home, Update: No, Cache: Yes
. Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. --------------------------------------------------------------------------
. Looking up host " "
. Connecting to port 22
. Server version: SSH-2.0-OpenSSH_3.5p1
. We claim version: SSH-2.0-PuTTY-Local: Jul 14 2003 13:14:02
. Using SSH protocol version 2
. Doing Diffie-Hellman group exchange
. Doing Diffie-Hellman key exchange
. Host key fingerprint is:
. ssh-rsa 1024 83:75:8e:cf:17:f1:f5:99:6f:b4:b7:79:67:6f:b8:8f
. Initialised AES-256 client->server encryption
. Initialised AES-256 server->client encryption
! Using username "".
. Reading private key file "C:\Downloads\Putty\putty\LED-identity.ppk"
. Offered public key
! Server refused our key
. Server refused public key
! No supported authentication methods left to try!
. No supported authentications offered. Disconnecting
* (ESshFatal) Authentication failed.
* Authentication log (see session log for details):
* Using username "".
* Server refused our key
* No supported authentication methods left to try!
* Connection has been unexpectedly closed.

I have been trying to turn on the bugs and change the authentication protocols and I'm pretty much at a loss....
Any help or direction you could give would be greatly appreciated....



Heh.. I had to take out my email address as user name... I just put something in "sftp" and used pageant with my key and Voila!!!


You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License