can no longer login on edgy with ssh
wim delvaux
wim.delvaux at adaptiveplanet.com
Fri Oct 20 12:26:38 UTC 2006
HI
I have a new computer installed with edgy running ssh 4.3
My old system runs 4.2
I have this client system that is able to connect to 4.2 but not to 4.3
I have copied over the keys and am sure that they are the same (ran md5sum on
them)
The error I get in the server is 'key disallowed'
The config files are the same :
.......snip.........
Oct 20 05:56:35 GCV sshd[15966]: debug3: mm_answer_keyallowed: key_from_blob:
0x80ac620
Oct 20 05:56:35 GCV sshd[15966]: debug1: temporarily_use_uid: 1003/1003
(e=0/0)
Oct 20 05:56:35 GCV sshd[15966]: debug1: trying public key
file /home/followyou/.ssh/authorized_keys
Oct 20 05:56:35 GCV sshd[15966]: debug1: restore_uid: 0/0
Oct 20 05:56:35 GCV sshd[15966]: debug1: temporarily_use_uid: 1003/1003
(e=0/0)
Oct 20 05:56:35 GCV sshd[15966]: debug1: trying public key
file /home/followyou/.ssh/authorized_keys2
Oct 20 05:56:35 GCV sshd[15966]: debug1: restore_uid: 0/0
Oct 20 05:56:35 GCV sshd[15966]: debug3: mm_answer_keyallowed: key 0x80ac620
is disallowed
Oct 20 05:56:35 GCV sshd[15966]: debug3: mm_request_send entering: type 21
Oct 20 05:56:35 GCV sshd[15966]: debug3: mm_request_receive entering
Oct 20 05:56:38 GCV sshd[15966]: debug3: monitor_read: checking request 10
Oct 20 05:56:38 GCV sshd[15966]: debug3: mm_answer_authpassword: sending
result 0
Oct 20 05:56:38 GCV sshd[15966]: debug3: mm_request_send entering: type 11
.......snip.........
Config is
# Package generated configuration file
# See the sshd(8) manpage for details
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
#Privilege Separation is turned on for security
UsePrivilegeSeparation yes
# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 768
# Logging
SyslogFacility AUTH
LogLevel DEBUG3
# Authentication:
LoginGraceTime 120
PermitRootLogin no
StrictModes no
RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile %h/.ssh/authorized_keys
# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
# To enable empty passwords, change to yes (NOT RECOMMENDED)
PermitEmptyPasswords no
# Change to yes to enable challenge-response passwords (beware issues with
# some PAM modules and threads)
ChallengeResponseAuthentication no
# Change to no to disable tunnelled clear text passwords
#PasswordAuthentication yes
# To change Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#AFSTokenPassing no
#KerberosTicketCleanup no
# Kerberos TGT Passing does only work with the AFS kaserver
#KerberosTgtPassing yes
X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
KeepAlive yes
#UseLogin no
#MaxStartups 10:30:60
#Banner /etc/issue.net
# Allow client to pass locale environment variables
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
UsePAM yes
More information about the ubuntu-users
mailing list