Re: Public/Private Key Authentication Error on Windows XP
Which version of PuTTY are you using?
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
. 2007-09-18 01:46:35.671 --------------------------------------------------------------------------
. 2007-09-18 01:46:35.687 Looking up host "XXX.XXX.XXX.XXX"
. 2007-09-18 01:46:35.687 Connecting to XXX.XXX.XXX.XXX port 443
. 2007-09-18 01:46:37.640 Server version: SSH-2.0-OpenSSH_4.3
. 2007-09-18 01:46:37.640 We claim version: SSH-2.0-WinSCP_release_4.0.4
. 2007-09-18 01:46:37.640 Using SSH protocol version 2
. 2007-09-18 01:46:38.046 Doing Diffie-Hellman group exchange
. 2007-09-18 01:46:38.281 Doing Diffie-Hellman key exchange
. 2007-09-18 01:46:38.687 Host key fingerprint is:
. 2007-09-18 01:46:38.687 ssh-rsa 2048 XX:e9:54:60:82:f3:26:XX:f2:de:XX:af:e2:XX:8e:96
. 2007-09-18 01:46:38.687 Initialised AES-256 client->server encryption
. 2007-09-18 01:46:38.687 Initialised HMAC-SHA1 client->server MAC algorithm
. 2007-09-18 01:46:38.687 Initialised AES-256 server->client encryption
. 2007-09-18 01:46:38.687 Initialised HMAC-SHA1 server->client MAC algorithm
! 2007-09-18 01:46:38.984 Using username "putty".
. 2007-09-18 01:46:38.984 Reading private key file "D:\Putty\home.ppk"
. 2007-09-18 01:46:43.687 Offered public key
! 2007-09-18 01:46:43.781 Server refused our key
. 2007-09-18 01:46:43.781 Server refused public key
. 2007-09-18 01:46:43.796 Keyboard-interactive authentication refused
. 2007-09-18 01:46:43.796 Session password prompt (putty@XXX.XXX.XXX.XXX's password: )
. 2007-09-18 01:48:06.406 Unable to authenticate
. 2007-09-18 01:48:06.406 Attempt to close connection due to fatal exception:
* 2007-09-18 01:48:06.406 Unable to authenticate
. 2007-09-18 01:48:06.406 Closing connection.
* 2007-09-18 01:48:06.406 (ESshFatal) Unable to authenticate
* 2007-09-18 01:48:06.406 Log d'authentification (voir le log de session pour les détails) :
* 2007-09-18 01:48:06.406 Utilisation du nom d'utilisateur "putty".
* 2007-09-18 01:48:06.406 Le serveur a refusé la clé.
* 2007-09-18 01:48:06.406
* 2007-09-18 01:48:06.406 Erreur d'authentification
sshd_config
file :
Port 443
Protocol 2
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::
# HostKey for protocol version 1
#HostKey /etc/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh_host_rsa_key
#HostKey /etc/ssh_host_dsa_key
# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 1h
#ServerKeyBits 768
# Logging
# obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO
# Authentication:
#LoginGraceTime 2m
#PermitRootLogin yes
StrictModes no
#MaxAuthTries 6
#RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
# For this to work you will also need host keys in /etc/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication yes
PermitEmptyPasswords no
# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes
# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no
# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes
# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication mechanism.
# Depending on your PAM configuration, this may bypass the setting of
# PasswordAuthentication, PermitEmptyPasswords, and
# "PermitRootLogin without-password". If you just want the PAM account and
# session checks to run without PAM authentication, then enable this but set
# ChallengeResponseAuthentication=no
#UsePAM no
AllowTcpForwarding yes
#GatewayPorts no
#X11Forwarding no
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
TCPKeepAlive yes
#UseLogin no
UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
ClientAliveInterval 30
ClientAliveCountMax 3
UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
#PermitTunnel no
#subsystem-sftp sftp-server
# no default banner path
#Banner /some/path
# override default of no subsystems
Subsystem sftp /usr/sbin/sftp-server
AllowUsers putty
I was successful at logging in with the Putty SSH client. Any thoughts on how to go about debugging my issue in the GUI version? As an aside I also encounter routing errors when trying to establish a SSL-VPN connection. Both issues are probably related to something in XP since I never had this problem on my W2K machine.