解决启动SSHD服务时报错

解决启动SSHD服务时报错

作者:admin 时间:2007-04-20 分类:PHP 评论:0条 浏览:1917

在开启SSHD服务时报错.
sshd re-exec requires execution with an absolute path
用绝对路径启动,也报错如下:
Could not load host key: /etc/ssh/ssh_host_key
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available — exiting

解决过程:
#ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
#ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
#/usr/sbin/sshd

原创文章,转载请注明: 转载自www.webmaster.me

本文链接地址: 解决启动SSHD服务时报错

标签:

相关推荐
更多

发表评论

电子邮件地址不会被公开。 必填项已用*标注

*