+ -
当前位置:首页 → 问答吧 → ssh不能登陆:(

ssh不能登陆:(

时间:2003-11-10

来源:互联网

提示如下:

login as:root
Sent username"root"
[email protected]'s password:
12 Access denied
[email protected]'s password:

帮帮我,谢谢

作者: dissipator   发布时间: 2003-11-10

下划线前面的12是写错了,呵呵

作者: dissipator   发布时间: 2003-11-10

root不能登陆, 普通用户才行!

ssh -l foo 192.168.2.1

作者: rainren   发布时间: 2003-11-10

ssh 下root 可以登陆,只是缺省值是disable. 看看/etc/ssh/sshd_config , 改完后重起sshd.
不过出于安全考虑,最好还上normal user 登陆,然后用sudo 或su - 工作。

作者: werix   发布时间: 2003-11-11

呵呵,谢谢

作者: dissipator   发布时间: 2003-11-13