Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sshd
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
meekj
Guest





PostPosted: Sun Apr 21, 2002 12:21 am    Post subject: sshd Reply with quote

Hello. I would like to setup sshd to run at startup. How do I do this? I also need to generate RSA keys it times me when I run "sshd" manualy. Thank you.
Back to top
klieber
Administrator
Administrator


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

PostPosted: Sun Apr 21, 2002 12:29 am    Post subject: Re: sshd Reply with quote

meekj wrote:
Hello. I would like to setup sshd to run at startup


as root, rc-update add ssh default (might be sshd instead of ssh -- not sure)

Quote:
I also need to generate RSA keys it times me when I run "sshd" manualy. Thank you.


Not sure I understand this question -- sshd should generate keys automatically when you start it if it needs to.

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


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Sun Apr 21, 2002 4:14 am    Post subject: Re: sshd Reply with quote

meekj wrote:
I also need to generate RSA keys it times me when I run "sshd" manualy. Thank you.


What you are looking for is 'ssh-keygen'

Code:
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key


Also, make sure that you only run the sshd under protocol two, there was an exploit for protocol one out a while ago, and I don't see much of a need to use it anymore. That means on a line in you sshd_config you should have just: 'Protocol 2'

For more information about the exploit I mentioned visit: http://www.kb.cert.org/vuls/id/945216

Hope this helps :)
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
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