现在的位置: 首页 > 综合 > 正文

BT5 开通SSH

2013年12月03日 ⁄ 综合 ⁄ 共 383字 ⁄ 字号 评论关闭

BT5需要设置一下,才可以使用SSH

root@bt:~# /etc/init.d/ssh restart

Could not load host key: /etc/ssh/ssh_host_rsa_key

Could not load host key: /etc/ssh/ssh_host_dsa_key

* Restarting OpenBSD Secure Shell server sshd

解决方法是:

#ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key // 密码输入时直接敲回车设置为空

#ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key // 密码输入时直接敲回车设置为空

重启ssh

root@bt:~# /etc/init.d/ssh restart

* Restarting OpenBSD Secure Shell server sshd [ OK ]

抱歉!评论已关闭.