SSH Installation
|
Original Message
|
Name: sukrut_1
Date: December 23, 2003 at 21:39:46 Pacific
Subject: SSH InstallationOS: solaris 8CPU/Ram: 256MB |
Comment: Hi All I have one problem in SSH configuraton because when I am starting the sshd daemon it is giving me following error. Could not load host key: /usr/local/etc/ssh_host_key Disabling protocol version 1. Could not load host key Missing privilege separation directory: /var/empty Although I have installed SSH daemon and I have created public key's successfuly but I am stuck with this problem.
Best Regards
Sukrut
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: westwood01
Date: December 27, 2003 at 04:30:26 Pacific
Subject: SSH Installation |
Reply: (edit)Found this . . . # /etc/init.d/sshd start starting SSHD daemon Could not load host key: /usr/local/etc/ssh_host_key Could not load host key: /usr/local/etc/ssh_host_rsa_key Could not load host key: /usr/local/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. # The errors above are due to the fact that they didn't create any key pairs for their ssh server.
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: phaedo
Date: December 29, 2003 at 15:30:31 Pacific
Subject: SSH Installation |
Reply: (edit)It could also mean you don't have the /dev/random patch installed. You don't say if you are using openssh or Sun's SSH. Read through http://sunfreeware.com/openssh.html as a nice guide.
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: stefanr
Date: January 14, 2004 at 01:04:16 Pacific
Subject: SSH Installation
|
Reply: (edit)I have same error message. It was a problem with privilege. I did : mkdir /var/empty chown root:sys /var/empty chmod 755 /var/empty groupadd sshd useradd -g sshd -c 'sshd privsep' -d /var/empty -s /bin/false sshd chown root /etc/init.d/sshd chgrp sys /etc/init.d/sshd chmod 555 /etc/init.d/sshd After that it works. Regards Stefan
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: