192.168.50.58: /usr# /usr/sbin/sshd
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@
WARNING: UNPROTECTED PRIVATE KEY
FILE!
@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions
0777 for '/usr/local//etc/ssh_host_rsa_key' are too open.
It is recommended
that your private key files are NOT accessible by others.
This private key
will be ignored.
bad permissions: ignore key:
/usr/local//etc/ssh_host_rsa_key
Could not load host key:
/usr/local//etc/ssh_host_rsa_key
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@
WARNING: UNPROTECTED PRIVATE KEY
FILE!
@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions
0777 for '/usr/local//etc/ssh_host_dsa_key' are too open.
It is recommended
that your private key files are NOT accessible by others.
This private key
will be ignored.
bad permissions: ignore key:
/usr/local//etc/ssh_host_dsa_key
Could not load host key:
/usr/local//etc/ssh_host_dsa_key
Disabling protocol version 2. Could not load
host key
sshd: no hostkeys available -- exiting.
Enter / usr / local / etc # see if there following files, these files are configured, it will prompt the absence. The above error is due to a permissions problem following the lead of these documents. Ssh_host_dsa_key ssh_host_rsa_key sshd_config in MiniGUI.cfg ssh_config ssh_host_dsa_key.pub ssh_host_rsa_key.pub We refer to these documents can be set to 600. 192.168.50.58: / usr / local / etc # chmod 600 ssh * Here you can start up. / usr / sbin / sshd
This is the standard configuration rights: -rwxr XR-1554-X-Mar the root 21 is the root. 1 10:37 the ssh_config -rw -------. 1 the root 21 is the root-Mar 668 10:42 ssh_host_dsa_key -rw -R & lt - r--. 1 the root 21 is the root-Mar 609 10:42 ssh_host_dsa_key.pub -rw -------. 1 the root 21 is the root-Mar 1679 10:40 ssh_host_rsa_key -rw-R & lt - r-- the root the root. 1 401 Mar 21 10:40 ssh_host_rsa_key.pub -rwxr-xr-x 1 root root 3177 Mar 21 10:37 sshd_config |
|
|