Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ssh dosent work
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
madpenguin8
n00b
n00b


Joined: 19 Jun 2002
Posts: 38
Location: Detroit MI

PostPosted: Sun Feb 02, 2003 8:13 pm    Post subject: ssh dosent work Reply with quote

I run /etc/init.d/sshd start and it dosent work.
Code:
* Starting sshd...
Could not load host key: /root/.ssh/id_rsa
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.                                                               [ !! ]


Dunno what to do now, please help.
_________________
Have you ever stopped to think...............and never start again?
Back to top
View user's profile Send private message
Esben
Apprentice
Apprentice


Joined: 29 Jun 2002
Posts: 244
Location: Copenhagen/Denmark

PostPosted: Sun Feb 02, 2003 8:17 pm    Post subject: You need to generate some keys... Reply with quote

Try reading the man/info pages. It takes a little reading, but it's rather easy. You just need to generate at least one keypair first---

Good luck --- and sorry it's not more explicit, I've been gaming and so i'm on the wrong side of the fence :oops:
_________________
regards, Esben
True trade is honest, but not merciful. Politics is dishonest, no matter how merciful... and war is neither honest nor merciful.... therefore, choose trade above politics, but politics above war.
Back to top
View user's profile Send private message
madpenguin8
n00b
n00b


Joined: 19 Jun 2002
Posts: 38
Location: Detroit MI

PostPosted: Sun Feb 02, 2003 8:25 pm    Post subject: Reply with quote

Well I tried the man pages, but that seems to be another problem altogether as it seems my man pages are scrambled or something. I'm going to have to jump to another forum to figure it out. Thanks.
[/img]
_________________
Have you ever stopped to think...............and never start again?
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Feb 02, 2003 9:09 pm    Post subject: Reply with quote

For scrambled manpages, make sure you upgrade /etc/man.conf.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
tux-fan
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2002
Posts: 131
Location: Paderborn, Germany

PostPosted: Mon Feb 03, 2003 7:49 pm    Post subject: Reply with quote

simply run the sshd startscript. It should generate the keys U need.
"/etc/init.d/sshd start"
Back to top
View user's profile Send private message
rtn
Guru
Guru


Joined: 15 Nov 2002
Posts: 427

PostPosted: Mon Feb 03, 2003 8:54 pm    Post subject: Reply with quote

You can manually generate new host keys yourself, something like this:

Code:
ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ""
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""


--rtn
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