Re: how to create host_key for sshd
From: sam (sam.wun_at_authtec.com)
Date: 01/30/05
- Next message: bob prohaska: "Re: named won't start on 5.1"
- Previous message: Ed Hurst: "Re: Searching: console editor with soft-wrapping"
- In reply to: Per Hedeland: "Re: how to create host_key for sshd"
- Next in thread: Per Hedeland: "Re: how to create host_key for sshd"
- Reply: Per Hedeland: "Re: how to create host_key for sshd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 30 Jan 2005 10:27:09 +0800
Per Hedeland wrote:
> In article <ctfehs$1vj2$1@news.hgc.com.hk> sam <sam.wun@authtec.com> writes:
>
>>Mike Tancsa wrote:
>>
>>>/usr/bin/ssh-keygen -t rsa1 -N "" -f /etc/ssh/ssh_host_key
>>>/usr/bin/ssh-keygen -t rsa -N "" -f /etc/ssh/ssh_host_rsa_key
>>>/usr/bin/ssh-keygen -t dsa -N "" -f /etc/ssh/ssh_host_dsa_key
>>>
>>
>>Thanks for the direction.
>
>
> It wasn't direction, it was instruction.
>
>
>>I created three host keys base on the passsword:
>>eg.
>>/usr/bin/ssh-keygen -t dsa -N "mypasswd" -f /etc/ssh/ssh_host_dsa_key
>
>
> What on earth gave you that idea? Just do what Mike wrote above.
>
>
Yeah, I just corrected the error by removing the mypasswd from dsa.
Correct me if I m wrong, I supposed rsa and rsa1 take what ever string I
gave it.
Sam.
>>but sshd failed to read the dsa_key. The error is:
>>Starting sshd.
>>Could not load host key: /etc/ssh/ssh_host_dsa_key
>
>
> Of course - it doesn't know your password, so can't possibly read the
> password-protected keys you created.
>
> --Per Hedeland
> per@hedeland.org
- Next message: bob prohaska: "Re: named won't start on 5.1"
- Previous message: Ed Hurst: "Re: Searching: console editor with soft-wrapping"
- In reply to: Per Hedeland: "Re: how to create host_key for sshd"
- Next in thread: Per Hedeland: "Re: how to create host_key for sshd"
- Reply: Per Hedeland: "Re: how to create host_key for sshd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]