Copy-paste commands to install LFS (SSH, PUTTY) - Incredible

by stilling2006 on 2009-09-07 22:33:51

It took me a total of seven or eight attempts to successfully install LFS. So, I guess I'm kind of dumb. But I don't feel ashamed about it.

Around the third attempt, I realized that manually entering all these commands wasn't sustainable. It's not because I'm lazy, but rather because I kept making mistakes while typing. So, I came up with an idea (later, I found out on the LFS forum that many people use this method too... still, I'll write it down since I figured it out myself).

I opened the `README.HTML` in the LFS LiveCD. Right there, it listed all the software packages on the CD. I noticed SSH. Luckily, I also had PuTTY installed on my machine. A plan was born...

First, I entered:

```

/etc/rc.d/init.d/sshd start

```

When using PuTTY to connect, you must set a password for the root user (at this point, root is the only user). To do this, enter:

```

passwd

```

After setting the password, open PuTTY and input the IP address (which you can find by running `ifconfig`). Leave everything else as default, and you're good to go.

When connecting, you'll see a message about a certificate. Just click "Yes" to proceed.