Не могу удаленно подключиться к серверу, на котором стоит Debian 3.1 и пакет SSH 3.8.1p1-4. Для подключения использую PuTTY 0.51
Ввожу имя пользователя и пароль, получаю сообщение Access denied.
Привожу sshd_config и выдержку из протокол auth.log
>>sshd_config
# 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 INFO
LogLevel DEBUG3
# Authentication:
LoginGraceTime 600
PermitRootLogin yes
StrictModes yes
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 no to disable s/key passwords
#ChallengeResponseAuthentication yes
# Change to yes to enable tunnelled clear text passwords
PasswordAuthentication no
# 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 no
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
KeepAlive yes
#UseLogin no
#MaxStartups 10:30:60
#Banner /etc/issue.net
Subsystem sftp /usr/lib/sftp-server
UsePAM yes
<<
>>auth.log
Sep 29 10:14:52 dn-proxy sshd[765]: Received signal 15; terminating.
Sep 29 10:14:52 dn-proxy sshd[28542]: socket: Address family not supported by protocol
Sep 29 10:14:52 dn-proxy sshd[28542]: debug1: Bind to port 22 on 0.0.0.0.
Sep 29 10:14:52 dn-proxy sshd[28542]: Server listening on 0.0.0.0 port 22.
Sep 29 10:15:12 dn-proxy sshd[28542]: debug1: Forked child 28546.
Sep 29 10:15:12 dn-proxy sshd[28546]: Connection from 192.168.56.21 port 2768
Sep 29 10:15:12 dn-proxy sshd[28546]: debug1: Client protocol version 2.0; client software version PuTTY
Sep 29 10:15:12 dn-proxy sshd[28546]: debug1: no match: PuTTY
Sep 29 10:15:12 dn-proxy sshd[28546]: debug1: Enabling compatibility mode for protocol 2.0
Sep 29 10:15:12 dn-proxy sshd[28546]: debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 Debian 1:3.8.1p1-4
Sep 29 10:15:12 dn-proxy sshd[28546]: debug2: Network child is on pid 28547
Sep 29 10:15:12 dn-proxy sshd[28546]: debug3: preauth child monitor started
Sep 29 10:15:12 dn-proxy sshd[28546]: debug3: mm_request_receive entering
Sep 29 10:15:13 dn-proxy sshd[28546]: debug3: monitor_read: checking request 4
Sep 29 10:15:13 dn-proxy sshd[28546]: debug3: mm_answer_sign
Sep 29 10:15:13 dn-proxy sshd[28546]: debug3: mm_answer_sign: signature 0x8098168(55)
Sep 29 10:15:13 dn-proxy sshd[28546]: debug3: mm_request_send entering: type 5
Sep 29 10:15:13 dn-proxy sshd[28546]: debug2: monitor_read: 4 used once, disabling now
Sep 29 10:15:13 dn-proxy sshd[28546]: debug3: mm_request_receive entering
Sep 29 10:15:19 dn-proxy sshd[28546]: debug3: monitor_read: checking request 6
Sep 29 10:15:19 dn-proxy sshd[28546]: debug3: mm_answer_pwnamallow
Sep 29 10:15:19 dn-proxy sshd[28546]: debug3: mm_answer_pwnamallow: sending MONITOR_ANS_PWNAM: 1
Sep 29 10:15:19 dn-proxy sshd[28546]: debug3: mm_request_send entering: type 7
Sep 29 10:15:19 dn-proxy sshd[28546]: debug2: monitor_read: 6 used once, disabling now
Sep 29 10:15:19 dn-proxy sshd[28546]: debug3: mm_request_receive entering
Sep 29 10:15:19 dn-proxy sshd[28546]: debug3: monitor_read: checking request 45
Sep 29 10:15:19 dn-proxy sshd[28546]: debug1: PAM: initializing for "root"
Sep 29 10:15:19 dn-proxy sshd[28546]: debug3: Trying to reverse map address 192.168.56.21.
Sep 29 10:15:19 dn-proxy sshd[28546]: debug1: PAM: setting PAM_RHOST to "192.168.56.21"
Sep 29 10:15:19 dn-proxy sshd[28546]: debug1: PAM: setting PAM_TTY to "ssh"
Sep 29 10:15:19 dn-proxy sshd[28546]: debug2: monitor_read: 45 used once, disabling now
Sep 29 10:15:19 dn-proxy sshd[28546]: debug3: mm_request_receive entering
Sep 29 10:15:19 dn-proxy sshd[28546]: debug3: monitor_read: checking request 3
Sep 29 10:15:19 dn-proxy sshd[28546]: debug3: mm_answer_authserv: service=ssh-connection, style=
Sep 29 10:15:19 dn-proxy sshd[28546]: debug2: monitor_read: 3 used once, disabling now
Sep 29 10:15:19 dn-proxy sshd[28546]: debug3: mm_request_receive entering
Sep 29 10:16:55 dn-proxy sshd[28546]: debug1: do_cleanup
Sep 29 10:16:55 dn-proxy sshd[28546]: debug1: PAM: cleanup
Sep 29 10:16:55 dn-proxy sshd[28546]: debug3: PAM: sshpam_thread_cleanup entering
<<
Подскажите, что не так, почему не работает ?
Сергей