View previous topic :: View next topic |
Author |
Message |
Locutus n00b
Joined: 14 Nov 2002 Posts: 3 Location: Reno, NV
|
Posted: Thu Nov 14, 2002 4:13 pm Post subject: SSH - How do I generate keys? |
|
|
My /etc/sshd folder has the conf files, but there are no keys... how do I make them? |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu Nov 14, 2002 4:13 pm Post subject: |
|
|
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 |
|
|
Locutus n00b
Joined: 14 Nov 2002 Posts: 3 Location: Reno, NV
|
Posted: Thu Nov 14, 2002 4:21 pm Post subject: |
|
|
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 |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Thu Nov 14, 2002 5:56 pm Post subject: ssh keys |
|
|
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 |
|
|
|