• Dreamhost Banner Ad

How To Install SSH On Debian GNU/Linux PC

I recently installed Secure Shell or SSH on a Debian GNU/Linux PC so that I can configure and connect to it remotely using an SSH client.

I am a newbie on this thing, thanks to Google, I was able to do it easily. Here are the steps:

1. Login as administrator.
2. Add this line to your /etc/apt/sources.list

deb http://pandora.debian.org/debian-non-us woody non-US/main non-US/non-free non-US/contrib

3. Open the Terminal and run apt-get install ssh
4. Open /etc/ssh/ssh_config and add the following lines:

Host *
ForwardAgent yes
ForwardX11 yes

5. Reload SSH with the following command:
/etc/init.d/ssh reload

That’s it! SSH is now installed and running on your Debian Linux PC.

Source (Read this source for a more detailed explanation)

Note that these steps only work if you have internet connection.

Marhgil Macuha

Marhgil Macuha is a Computer Engineering graduate of Batangas State University. He is currently a Senior Solutions Developer at a Canadian IT company.

3 Comments:

  1. well, i just installed ubuntu linux on my laptop.
    still my process on exploring linux, need it to crack the wifi signal on my neighbors.

  2. Thanks a lot for the tutorial. I have to give a try to install SSH.

    Nice Blog…

  3. Installing SSH is not easy, this really helps.

Leave a Reply