|
| View previous topic :: View next topic |
| Author |
Message |
cosmic
|
Posted: Wed Mar 04, 2009 3:48 pm Post subject: generating SSH2 RSA host key |
|
|
after installing 900001 the machine gets stuck on this message and now i dont know what to do
|
|
|
 |
Junichirô
|
Posted: Wed Mar 04, 2009 6:45 pm Post subject: |
|
|
Don't understand. The computer gets stuck during the boot or after?
|
|
|
 |
TimGoodwin
|
Posted: Thu Mar 05, 2009 2:55 pm Post subject: |
|
|
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
|
Posted: Fri Mar 06, 2009 12:55 pm Post subject: Re: generating SSH2 RSA host key |
|
|
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.
|
|
|
 |
|
|
|