Re: sshd starting errors




This is OpenSSH 4.4 on Solaris 8.
Any idea what's going on?

As it says at the bottom, you have no hostkeys. Use ssh-keygen to
generate some, and put them in the default location, here probably
/usr/local/etc/ssh_host_{dsa,rsa}_key{.pub}


#/etc/init.d ./sshd start
3 SSHD: Generating DSA host key...
Generating public/private dsa key pair.
/usr/local/etc/ssh_host_dsa_key already exists.
Overwrite (y/n)? y
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:
08:cb:f2:a6:f5:a8:07:45:92:5c:a7:f5:2c:07:af:cb root@baj4
SSHD: Starting the Secure Shell Daemon
/usr/local/etc/sshd_config line 30: Deprecated option
RhostsAuthentication
/usr/local/etc/sshd_config line 53: Deprecated option CheckMail
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.


--
Richard Silverman
res@xxxxxxxx

.



Relevant Pages

  • sshd starting errors
    ... SSHD: Generating DSA host key... ... Generating public/private dsa key pair. ... Overwrite? ... SSHD: ...
    (comp.security.ssh)
  • sshd startup failed: no hostkey available
    ... I'm trying to start sshd and have used ssh-keygen in the ... Disabling protocol version 2. ... Could not load host key ... no hostkeys available -- exiting. ...
    (comp.security.ssh)