sshd does not start

James Dennis jdennis at law.harvard.edu
Tue Mar 4 06:31:40 EST 2003


> After the make install,  I did a ps -ef|grep sshd, but sshd was not running.

make install does not start the process. It never did.

> I typed ssh hostname
> and I received the error:
> ssh: connect to host...port 22: connection refused
> 
> I tried to start sshd daemon manually:
> /usr/local/sbin/sshd
> I received the error:
> Privilege separtaion user sshd does not exist.

You need to create an sshd user. Read the docs.

> The following is the tail output from the make install command:
> mkdir /usr/local/etc
> Generating public/private rsa1 key pair.
> Your identification has been saved in /usr/local/etc/ssh_host_key.
> Your public key has been saved in /usr/local/etc/ssh_host_key.pub.
> The key fingerprint is:
> c0:4a:f8:f4:a5:5f:3c:6f:a7:e7:57:e0:bf:3a:c1:76 root at cupid
> Generating public/private dsa key pair.
> Your identification has been saved in /usr/local/etc/ssh_host_dsa_key.
> Your public key has been saved in /usr/local/etc/ssh_host_dsa_key.pub.
> The key fingerprint is:
> 9d:62:44:1b:25:40:cd:09:95:8b:fa:24:8f:68:31:10 root at cupid
> Generating public/private rsa key pair.
> Your identification has been saved in /usr/local/etc/ssh_host_rsa_key.
> Your public key has been saved in /usr/local/etc/ssh_host_rsa_key.pub.
> The key fingerprint is:
> 23:c8:01:4a:5a:de:f6:eb:79:2d:5f:32:6d:f4:7c:27 root at cupid
> /usr/local/sbin/sshd -t -f /usr/local/etc/sshd_config
> Privilege separation user sshd does not exist
> make: [check-config] Error 255 (ignored)
> # ps -ef|grep ssh
>     root 12182  4951  0 10:50:36 pts/1    0:00 grep ssh  

Like I said, the sshd user doesn't exist. Read the install documentation 
before attempting to install anything, especially if you work for the 
penagon (Hafermje at osd.pentagon.mi)!!

-James




More information about the openssh-unix-dev mailing list