View previous topic :: View next topic |
Author |
Message |
madpenguin8 n00b
Joined: 19 Jun 2002 Posts: 38 Location: Detroit MI
|
Posted: Sun Feb 02, 2003 8:13 pm Post subject: ssh dosent work |
|
|
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 |
|
|
Esben Apprentice
Joined: 29 Jun 2002 Posts: 244 Location: Copenhagen/Denmark
|
Posted: Sun Feb 02, 2003 8:17 pm Post subject: You need to generate some keys... |
|
|
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 _________________ 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 |
|
|
madpenguin8 n00b
Joined: 19 Jun 2002 Posts: 38 Location: Detroit MI
|
Posted: Sun Feb 02, 2003 8:25 pm Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sun Feb 02, 2003 9:09 pm Post subject: |
|
|
For scrambled manpages, make sure you upgrade /etc/man.conf. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
tux-fan Tux's lil' helper
Joined: 10 Apr 2002 Posts: 131 Location: Paderborn, Germany
|
Posted: Mon Feb 03, 2003 7:49 pm Post subject: |
|
|
simply run the sshd startscript. It should generate the keys U need.
"/etc/init.d/sshd start" |
|
Back to top |
|
|
rtn Guru
Joined: 15 Nov 2002 Posts: 427
|
Posted: Mon Feb 03, 2003 8:54 pm Post subject: |
|
|
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 |
|
|
|