HP-unix sshd的安装启动问题
我不清楚应该是要怎么安装sshd,我创建了一个sshd的用户,但是现在启动sshd的时候报下面的错误了,不知道还需要些什么操作。
# pwd
/sbin/init.d
# ./secsh start
Could not load host key: /opt/ssh/etc/ssh_host_key
Could not load host key: /opt/ssh/etc/ssh_host_rsa_key
Could not load host key: /opt/ssh/etc/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.
EXIT CODE: 1
查看/opt/ssh/etc/路径下面只有下面几个文件
# ll
total 304
-rwxrwxr-x 1 root sys 125811 Sep6 12:33 moduli
-rwxrwxr-x 1 root sys 2303 Sep6 12:33 ssh_config
-rwxrwxr-x 1 root sys 2815 Sep6 12:33 ssh_prng_cmds
-rwxrwxr-x 1 root sys 4925 Sep6 12:33 sshd_config
# pwd
/opt/ssh/etc
页:
[1]