🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.linux.security
3 messages
3 total messages Started by entr0py Fri, 23 Jun 2000 00:00
ssh2 dsa key
#29
Author: entr0py
Date: Fri, 23 Jun 2000 00:00
10 lines
873 bytes
When starting sshd i get;

"Starting sshd: error: Could not load DSA host key:
/etc/ssh/ssh_host_dsa_key
Disabling protocol version 2"

This key file does not exist - is it supposed to be created during
installation? (I installed using rpm -U)

ent.
Re: ssh2 dsa key
#30
Author: lesbell
Date: Fri, 23 Jun 2000 00:00
20 lines
1614 bytes
In aus.computers.linux entr0py <kill_th@spam.com> wrote:
> When starting sshd i get;

> "Starting sshd: error: Could not load DSA host key:
> /etc/ssh/ssh_host_dsa_key
> Disabling protocol version 2"

> This key file does not exist - is it supposed to be created during
> installation? (I installed using rpm -U)

Assuming you're referring to OpenSSH 2.1.x, then see man ssh-keygen. You
need to specify the -d option to build DSA keys. I don't know if your
RPM was supposed to build the server keys for you - it did when I 
installed SSH 1.2 from a Caldera RPM, but I built OpenSSH from a
tarball. IIRC, the "make host-keys" procedure for the tarball doesn't
build DSA keys either and I had to do it manually with ssh-keygen.

Best,

--- Les [http://www.lesbell.com.au]
Re: ssh2 dsa key
#31
Author: entr0py
Date: Fri, 23 Jun 2000 00:00
16 lines
1486 bytes
> Assuming you're referring to OpenSSH 2.1.x, then see man ssh-keygen. You
> need to specify the -d option to build DSA keys. I don't know if your
> RPM was supposed to build the server keys for you - it did when I
> installed SSH 1.2 from a Caldera RPM, but I built OpenSSH from a
> tarball. IIRC, the "make host-keys" procedure for the tarball doesn't
> build DSA keys either and I had to do it manually with ssh-keygen.

Thanks, i had tried that but it looked like it was only for making user
keys. Anyway i told it to dump the key to /etc/ssh/ssh_host_dsa_key instead
of /root/.ssh/whatever and it seems to have worked fine (I can connect
remotely using ssh2)

Another question tho - what are the pro's and con's of using a passphrase
for these server keys?

ent.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads