|
|
发表于 2005-4-5 12:14:50
|
显示全部楼层
sorry。我的说法不准确。多谢mikkoyue提醒。
blfs中ssh部分有这么一段,可能是楼主这里设置了root不能访问。可以参考一下。
- Configuring OpenSSH
- Config files
- /etc/ssh/ssh_config and /etc/ssh/sshd_config
- There are no required changes to either of these files. However, you may wish to view them to make changes for appropriate security to your system. One recomended change is that you disable root login via ssh. Execute the following command to disable root login via ssh:
- echo "PermitRootLogin no" >> /etc/ssh/sshd_config
- Additional configuration information can be found in the man pages for sshd, ssh and ssh-agent
复制代码 |
|