|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Ivan Revyakin 2:5020/400 04 Feb 2002 20:34:11 To : All Subject : ssh ? -------------------------------------------------------------------------------- Собрал сабж, а он падла, пускать не хочет, см.лог и sshd_config. Tелнет john-а пускает Че ей надо, блин? openssh-2.5.2p2 RedHat 6.0 лог с момента запуска и до остановки: Feb 4 18:57:27 localhost sshd[730]: socket: Invalid argument Feb 4 18:57:27 localhost sshd[730]: Server listening on 0.0.0.0 port 22. Feb 4 18:57:27 localhost sshd[730]: Generating 768 bit RSA key. Feb 4 18:57:27 localhost sshd[730]: RSA key generation complete. Feb 4 18:57:36 localhost sshd[732]: Connection from 192.168.1.5 port 41181 Feb 4 18:57:36 localhost sshd[732]: Enabling compatibility mode for protocol 2.0 Feb 4 18:57:36 localhost sshd[732]: Failed none for john from 192.168.1.5 port 41181 ssh2 Feb 4 18:57:36 localhost sshd[732]: Failed none for john from 192.168.1.5 port 41181 ssh2 Feb 4 18:57:38 localhost sshd[732]: Failed password for john from 192.168.1.5 port 4 1181 ssh2 Feb 4 18:57:38 localhost sshd[732]: Received disconnect from 192.168.1.5: 13: Authentication cancelled by user. Feb 4 18:57:45 localhost sshd[730]: Received signal 15; terminating. Feb 4 18:57:46 localhost sshd: sshd shutdown succeeded конфиг: # $OpenBSD: sshd_config,v 1.34 2001/02/24 10:37:26 deraadt Exp $ # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin # This is the sshd server system-wide configuration file. See sshd(8) # for more information. Port 22 #Protocol 2,1 #ListenAddress 0.0.0.0 #ListenAddress :: HostKey /usr/local/etc/ssh_host_key HostKey /usr/local/etc/ssh_host_rsa_key HostKey /usr/local/etc/ssh_host_dsa_key ServerKeyBits 768 LoginGraceTime 600 KeyRegenerationInterval 3600 PermitRootLogin yes # # Don't read ~/.rhosts and ~/.shosts files IgnoreRhosts yes # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication #IgnoreUserKnownHosts yes StrictModes yes X11Forwarding no X11DisplayOffset 10 PrintMotd yes KeepAlive yes # Logging SyslogFacility AUTH LogLevel DEBUG #obsoletes QuietMode and FascistLogging RhostsAuthentication no # # For this to work you will also need host keys in /usr/local/etc/ssh_known_hosts RhostsRSAAuthentication no # RSAAuthentication yes # To disable tunneled clear text passwords, change to no here! PasswordAuthentication yes PermitEmptyPasswords no # Comment to enable s/key passwords or PAM interactive authentication # NB. Neither of these are compiled in by default. Please read the # notes in the sshd(8) manpage before enabling this on a PAM system. ChallengeResponseAuthentication 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 #CheckMail yes #UseLogin no #MaxStartups 10:30:60 #Banner /etc/issue.net #ReverseMappingCheck yes Subsystem sftp /usr/local/libexec/sftp-server --- ifmail v.2.15dev5 * Origin: Demos online service (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/6577f00d0435.html, оценка из 5, голосов 10
|