Computing.Net > Forums > Solaris > SSH Installation

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

SSH Installation

Reply to Message Icon

Name: sukrut_1
Date: December 23, 2003 at 21:39:46 Pacific
OS: solaris 8
CPU/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



Sponsored Link
Ads by Google

Response Number 1
Name: westwood01
Date: December 27, 2003 at 04:30:26 Pacific
Reply:

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.


0

Response Number 2
Name: phaedo
Date: December 29, 2003 at 15:30:31 Pacific
Reply:

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.


0

Response Number 3
Name: stefanr
Date: January 14, 2004 at 01:04:16 Pacific
Reply:

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


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: SSH Installation

SSH Instalation www.computing.net/answers/solaris/ssh-instalation/2668.html

How to install SSH Daemon www.computing.net/answers/solaris/how-to-install-ssh-daemon/2967.html

install ssh in solaris8 www.computing.net/answers/solaris/install-ssh-in-solaris8/3747.html