普通用户 hexo home 文件下的.ssh/authorized_keys 已经配置好 .ssh 文件权限以及 authorized_keys 权限如下: drwx------ 2 hexo hexo 4096 Apr 1 00:01 .ssh authorized_keys -rw------- 1 root root 401 Mar 13 17:41 authorized_keys -rw-r--r-- 1 hexo hexo 171 Apr 1 00:01 known_hosts 打印的 log 如下,哪位大神能给指点一下: λ ssh hexo@119.29.64.190 hexo@119.29.64.190's password: Last login: Sun Apr 1 00:02:00 2018 from 127.0.0.1 [hexo@VM_28_59_centos ~]$ sudo tail /var/log/secure -n 20 [sudo] password for hexo: Apr 1 00:08:49 VM_28_59_centos sshd[25151]: Disconnected from 58.218.198.167 port 11592 [preauth] Apr 1 00:08:49 VM_28_59_centos sshd[25151]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.218.198.167 user=root Apr 1 00:08:50 VM_28_59_centos su: pam_unix(su:session): session closed for user root Apr 1 00:08:57 VM_28_59_centos sshd[24288]: Received disconnect from 223.3.71.151 port 7153:11: disconnected by user Apr 1 00:08:57 VM_28_59_centos sshd[24288]: Disconnected from 223.3.71.151 port 7153 Apr 1 00:08:57 VM_28_59_centos sshd[24285]: pam_unix(sshd:session): session closed for user hexo Apr 1 00:09:04 VM_28_59_centos sshd[25161]: Accepted password for hexo from 223.3.71.151 port 7608 ssh2 Apr 1 00:09:04 VM_28_59_centos sshd[25161]: pam_unix(sshd:session): session opened for user hexo by (uid=0) Apr 1 00:09:05 VM_28_59_centos sshd[25161]: pam_lastlog(sshd:session): corruption detected in /var/log/btmp Apr 1 00:09:15 VM_28_59_centos sshd[25232]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.218.198.167 user=root Apr 1 00:09:15 VM_28_59_centos sshd[25232]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root" Apr 1 00:09:17 VM_28_59_centos sshd[25232]: Failed password for root from 58.218.198.167 port 60487 ssh2 Apr 1 00:09:17 VM_28_59_centos sshd[25232]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root" Apr 1 00:09:20 VM_28_59_centos sshd[25232]: Failed password for root from 58.218.198.167 port 60487 ssh2 Apr 1 00:09:20 VM_28_59_centos sshd[25232]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root" Apr 1 00:09:22 VM_28_59_centos sshd[25232]: Failed password for root from 58.218.198.167 port 60487 ssh2 Apr 1 00:09:22 VM_28_59_centos sshd[25232]: Received disconnect from 58.218.198.167 port 60487:11: [preauth] Apr 1 00:09:22 VM_28_59_centos sshd[25232]: Disconnected from 58.218.198.167 port 60487 [preauth] Apr 1 00:09:22 VM_28_59_centos sshd[25232]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.218.198.167 user=root Apr 1 00:09:23 VM_28_59_centos sudo: hexo : TTY=pts/0 ; PWD=/home/hexo ; USER=root ; COMMAND=/bin/tail /var/log/secure -n 20
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.