@
juicy 使用:
root@ssd:/# /etc/init.d/ssh start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service ssh start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start ssh
ssh stop/pre-start, process 994
仍然无法启动 ssh 服务,不过 auth.log 有日志了!
root@ssd:/# tail /var/log/auth.log
Jan 7 08:14:38 ssd groupadd[578]: group added to /etc/group: name=klog, GID=111
Jan 7 08:14:38 ssd groupadd[578]: group added to /etc/gshadow: name=klog
Jan 7 08:14:38 ssd groupadd[578]: new group: name=klog, GID=111
Jan 7 08:14:38 ssd useradd[582]: new user: name=klog, UID=107, GID=111, home=/home/klog, shell=/bin/false
Jan 7 08:14:38 ssd usermod[587]: change user 'klog' password
Jan 7 08:14:38 ssd chage[592]: changed password expiry for klog
Jan 7 08:15:01 ssd CRON[622]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 7 08:15:01 ssd CRON[622]: pam_unix(cron:session): session closed for user root
Jan 7 08:25:01 ssd CRON[651]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 7 08:25:01 ssd CRON[651]: pam_unix(cron:session): session closed for user root
Jan 7 08:35:01 ssd CRON[658]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 7 08:35:01 ssd CRON[658]: pam_unix(cron:session): session closed for user root
Jan 7 08:36:01 ssd CRON[663]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 7 08:36:01 ssd CRON[663]: pam_unix(cron:session): session closed for user root
Jan 7 08:45:01 ssd CRON[668]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 7 08:45:01 ssd CRON[668]: pam_unix(cron:session): session closed for user root
Jan 7 08:55:01 ssd CRON[675]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 7 13:55:01 ssd CRON[940]: pam_unix(cron:session): session closed for user root
Jan 7 13:57:12 ssd sshd[947]: debug1: sshd version OpenSSH_5.3p1 Debian-3ubuntu7
Jan 7 13:57:12 ssd sshd[947]: debug1: read PEM private key done: type RSA
Jan 7 13:57:12 ssd sshd[947]: debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
Jan 7 13:57:12 ssd sshd[947]: debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
Jan 7 13:57:12 ssd sshd[947]: debug1: private host key: #0 type 1 RSA
Jan 7 13:57:12 ssd sshd[947]: debug1: read PEM private key done: type DSA
Jan 7 13:57:12 ssd sshd[947]: debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024
Jan 7 13:57:12 ssd sshd[947]: debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024
Jan 7 13:57:12 ssd sshd[947]: debug1: private host key: #1 type 2 DSA
Jan 7 13:57:13 ssd sshd[947]: pam_env(sshd:setcred): Unable to open env file: /etc/default/locale: No such file or directory
Jan 7 13:57:13 ssd sshd[947]: pam_unix(sshd:session): session opened for user root by (uid=0)
Jan 7 13:57:13 ssd sshd[958]: pam_env(sshd:setcred): Unable to open env file: /etc/default/locale: No such file or directory
Jan 7 13:57:40 ssd sshd[947]: pam_unix(sshd:session): session closed for user root
Jan 7 13:57:40 ssd sshd[947]: pam_env(sshd:setcred): Unable to open env file: /etc/default/locale: No such file or directory