Hi all,

It appears that sshd does not like to use a passphrase.

When I use ssh-keygen with a passphrase, sshd fails to start with the
following error:

# /public/bin/sshd -d
debug: sshd version 1.2.26 [sparc-sun-solaris2.4]
debug: Bad passphrase supplied for key file /etc/ssh_host_key.
Could not load host key: /etc/ssh_host_key
fatal: Please check that you have sufficient permissions and the file exists.

The permission on the file is fine ...

# ls -l /etc/ssh_host*
-rw-------   1 root     other        526 Oct 13 15:16 /etc/ssh_host_key
-rw-r--r--   1 root     other        330 Oct 13 15:16 /etc/ssh_host_key.pub

and sshd did find the file and access it ...

# ls -alu /etc/ssh_h*
-rw-------   1 root     other        526 Oct 13 16:28 /etc/ssh_host_key
-rw-r--r--   1 root     other        330 Oct 13 15:17 /etc/ssh_host_key.pub


When I use ssh-keygen with a null passphrase, sshd starts without problems.

What gives?

Thanks,
Norman.

Reply via email to