Re: Could not load host key: ..., but keys exist.
- From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
- Date: Wed, 19 Mar 2008 18:31:31 -0700 (PDT)
On 19 Mar, 17:17, Simon Tatham <ana...@xxxxxxxxx> wrote:
<f...@xxxxx> wrote:
I re-generated them in this way:
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
when promted for password, i typed custom password.
How do you expect sshd to load the keys without knowing that
passphrase?
The host keys should be generated _without_ a passphrase, because
otherwise sshd can't load them.
(In principle you could instead tell sshd the passphrase, but in
practice (a) no sshd I've heard of supports this mode of use, and
(b) it wouldn't be a security improvement anyway since the
passphrase would have to be stored on disk.)
Well, in theory, you could have an SSH agent for them. But I've never
heard ot this approach for host keys!
.
- References:
- Could not load host key: ..., but keys exist.
- From: file
- Re: Could not load host key: ..., but keys exist.
- From: Simon Tatham
- Could not load host key: ..., but keys exist.
- Prev by Date: Re: Could not load host key: ..., but keys exist.
- Next by Date: always takes exactly 40 seconds to log in via ssh
- Previous by thread: Re: Could not load host key: ..., but keys exist.
- Next by thread: Re: Could not load host key: ..., but keys exist.
- Index(es):
Relevant Pages
|
|