Gentoo: Installation through ssh

Gentoo: Installation through ssh

I’ve never installed Gentoo by actually typing through the entire manual.
SSH is so much more comfortable!
You need a second computer of course ;-)

Simply boot from installation-CD and 3 steps later you’ll be happily copy/pasting, etc.
After booting:

  1. net-setup eth0 I use LAN and dhcp, wireless is to complicated at this stage
  2. passwd ssh requires a password to be set
  3. /etc/init.d/sshd start Start sshd

Note: “net-setup” only works when booting from the installation CD. Within your Gentoo environment it is “/etc/init.d/net.eth0 start”, and the password must only be set once. The Gentoo guide covers that.

Check the IP address with “ifconfig”, then switch to other computer.
In a terminal, enter ssh root@gentooIP and you’re set.
For Windows, there’s PuTTY.

If you reboot, ssh might complain. It mentions “/home/user/.ssh/known_hosts”. Just delete the previous IP address entry from that file, then retry.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: