Computing.Net > Forums > Solaris > SSH Installation

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

SSH Installation

Reply to Message Icon

Original Message
Name: sukrut_1
Date: December 23, 2003 at 21:39:46 Pacific
Subject: SSH Installation
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


Report Offensive Message For Removal


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.


Report Offensive Follow Up For Removal

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.


Report Offensive Follow Up For Removal

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


Report Offensive Follow Up For Removal







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



Results for: SSH Installation

SSH Instalation
    Summary: i have installed patch 112438-01 openssh-3.4p1-sol8 openssl-0.96g-sol8 zlib-1.1.4-sol8 gcc-3.2 perl-5.6.1-sol8 when i am running the command ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N "" it...
www.computing.net/answers/solaris/ssh-instalation/2668.html

How to install SSH Daemon
    Summary: Hi !!! I need to know where I can get the SSH daemon for Solaris 7, and if possible, tell me if I need to install more than this program and what else I need... Thanks a lot !!! Lorenzo. ...
www.computing.net/answers/solaris/how-to-install-ssh-daemon/2967.html

install ssh in solaris8
    Summary: hello,everyone: i have a question,it is for ssh.When i was install ssh in the solaris8 for intel.it is tell me "PRNG is not seeded.".What is this.How i can do? ...
www.computing.net/answers/solaris/install-ssh-in-solaris8/3747.html








Which MP3 player do you have?

iPod/iPhone
Zune
Something Else
None


View Results

Poll Finishes Today.
Discuss in The Lounge
Poll History






Data Recovery Software