FAQ   Search   Memberlist  
Profile    Log in to check your private messages    Register    Log in
generating SSH2 RSA host key

 
Post new topic   Reply to topic    BLAG Forum Index -> support
View previous topic :: View next topic  
Author Message
cosmic
PostPosted: Wed Mar 04, 2009 3:48 pm    Post subject: generating SSH2 RSA host key Reply with quote

after installing 900001 the machine gets stuck on this message and now i dont know what to do
Junichirô
PostPosted: Wed Mar 04, 2009 6:45 pm    Post subject: Reply with quote

Don't understand. The computer gets stuck during the boot or after?
TimGoodwin
PostPosted: Thu Mar 05, 2009 2:55 pm    Post subject: Reply with quote

First time it's run, the sshd startup script (/etc/rc.d/init.d/sshd) notices that there is no /etc/ssh/ssh_host_rsa_key so it prints this message before creating one.

After creating the key, the startup script then starts the sshd daemon as normal.

I can see two possibilities: ssh-keygen is hanging for some reason; or the keygen succeeds, but the sshd startup hangs. Neither seems very likely on the face of it!

Cosmic: are you sure it's the keygen part that hangs? There's definitely no green "OK" message for this stage?

There are a couple of ways to turn off key generation, if you can boot in single user mode, or rescue mode from the CD. First, you can disable key autocreation like this.
Code:
echo "AUTOCREATE_SERVER_KEYS=NO" >> /etc/sysconfig/sshd

Alternatively, you can pretend there already is a key.
Code:
touch /etc/ssh/ssh_host_rsa_key

Crwyddwr
PostPosted: Fri Mar 06, 2009 12:55 pm    Post subject: Re: generating SSH2 RSA host key Reply with quote

I think we need a little more information to help you solve this.

Did you check the that install media wasn't corrupted? Do so before going any further.

Could you tell us the spec of your machine (cpu, ram, network card, graphics, wireless).

Does this problem happen every time you try to boot? It could be that 'Firstboot' is hanging over a driver issue. During the boot process you get the option to "press 'I' for interactive startup." Do this and you then have to press 'y' or 'n' for each service being started. Select 'n' for networking, wireless and cups and report back what happens.

Display posts from previous:   
Post new topic   Reply to topic    BLAG Forum Index -> support
Page 1 of 1

Protected by Anti-Spam ACP