Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SSH - How do I generate keys?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Locutus
n00b
n00b


Joined: 14 Nov 2002
Posts: 3
Location: Reno, NV

PostPosted: Thu Nov 14, 2002 4:13 pm    Post subject: SSH - How do I generate keys? Reply with quote

My /etc/sshd folder has the conf files, but there are no keys... how do I make them?
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu Nov 14, 2002 4:13 pm    Post subject: Reply with quote

ssh-keygen for the user side. sshd should auto-generate keys for the server side.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Locutus
n00b
n00b


Joined: 14 Nov 2002
Posts: 3
Location: Reno, NV

PostPosted: Thu Nov 14, 2002 4:21 pm    Post subject: Reply with quote

When I run sshd it complains about no keys then terminates. I will try ssh-keygen and see if that does anything.
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Thu Nov 14, 2002 5:56 pm    Post subject: ssh keys Reply with quote

sshd should generate it's own keys if they aren't there... Assuming you are using the /etc/init.d/sshd script to start ssh.

Try running
/etc/init.d/sshd gen_keys
or
/etc/init.d/sshd start

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum