View previous topic :: View next topic |
Author |
Message |
Schietschijf n00b
Joined: 04 Jan 2005 Posts: 36 Location: Mortsel, Antwerp, Flanders
|
Posted: Tue Jan 04, 2005 2:17 pm Post subject: Remote installation of gentoo with ssh (solved) |
|
|
Is it possible to install gentoo via ssh.
My 'gentoo computer' is located in my basement and my computer with internet connection is located on the second floor.
I don't want to replace the gentoo computer and I don't want to run between the floors to look in online documentation and to type commands.
I boot from the cd (basic 2004-3) and my network settings are correctly set up. I want to use ssh, but I did a test first by ssh to gentoo itself
(gentoo ip: 192.168.1.185
windows ip: 192.168.1.188)
this is what I did and what the computer returned:
Code: |
#ssh 192.168.1.85
ssh: connect to host 192.168.1.185 port 22: connection refused
#sshd
could not load host key: /etc/ssh/ssh_host_rsa_key
could not load host key: /etc/ssh/ssh_host_dsa_key
disabling protocol version 2. could not load host key
sshd: no host keys available -- exiting
|
How do I set the keys? _________________ 56k ruleD !
Last edited by Schietschijf on Tue Jan 04, 2005 3:36 pm; edited 1 time in total |
|
Back to top |
|
|
Cosmin Guru
Joined: 18 Dec 2003 Posts: 447 Location: Bucharest, Romania
|
Posted: Tue Jan 04, 2005 2:31 pm Post subject: |
|
|
Have you started sshd on the wannabe gentoo? _________________ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan |
|
Back to top |
|
|
jsa n00b
Joined: 17 Jun 2003 Posts: 46 Location: Prague
|
Posted: Tue Jan 04, 2005 2:32 pm Post subject: gentoo install over ssh |
|
|
boot from cd,
change root password,
check network setup:
loaded module of net card,
proper tcp/ip settings.
start sshd via command: /etc/init.d/sshd start
log from other computer via command: ssh IP_of_booted_gentoo
have a nice install. |
|
Back to top |
|
|
Schietschijf n00b
Joined: 04 Jan 2005 Posts: 36 Location: Mortsel, Antwerp, Flanders
|
Posted: Tue Jan 04, 2005 2:45 pm Post subject: |
|
|
thank you for the fast answers!
you saved me a lot of energy! _________________ 56k ruleD ! |
|
Back to top |
|
|
|