Chinaunix首页 | 论坛 | 博客
  • 博客访问: 234905
  • 博文数量: 29
  • 博客积分: 1224
  • 博客等级: 中尉
  • 技术积分: 415
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-23 19:05
文章分类

全部博文(29)

文章存档

2013年(1)

2012年(1)

2011年(22)

2008年(5)

分类: LINUX

2011-09-13 15:19:11

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

阅读(1041) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~