Most Rated Articles

Installing Apache and Apache Modules the easy way

The Essential steps on how to Sysprep Windows 7

SSH is very much similar to telnet. SSH is a shell program which allows a user remote access and the ability to execute commands over a network.

It is important to protect your wireless networks from unwanted and abusive users. Unauthorized users may reduce the bandwidth and may lock up your network

There are many methods on how to optimize apache. It could be on the software side, but upgrading the hardware also makes a difference.

With Windows 7 as a new OS in the market, one may worry about any problems that could be encountered especially network issues such as compatibility with older OS. Windows 7 might encounter problems communicating with older Windows models such as XP. The following are ways on how to network Windows 7 and XP.

One way of installing windows over the network is through the use of RIS or Remote Installation Services. However, you must have the following prerequisites in order to install Windows over the network.

Installing a printer on a mac is just as easy as installing a printer on an OS of Windows. The following steps are just some of the steps on how to connect your printer a Mac operating system.

Nowadays, it is important to have access to Wi-Fi. However, not everyone has their own internet connection so most people leech wherever there is free Wi-Fi. Most routers with Wi-Fi access require passwords but nowadays, there are other places to look around and search for free Wi-Fi.

Some applications cannot install in Windows 7 due to incompatibility issues. A solution would be to enable XP mode in a virtual environment of Windows 7. This configuration may be used to run and install programs that were incompatible in Windows 7.

 »  Linux
 Picture

How to setup SSH on Linux

By: Anton Locsin
Date Added : July 26, 2010 Views : 232



SSH is very much similar to telnet. SSH is a shell program which allows a user remote access and the ability to execute commands over a network. SSH ensures solid data communication by protecting networks from IP and DNS spoofing.

SSH is readily available in most Linux distributions. However, there are some cases where you still need to setup SSH on Linux. The following are the steps on how to setup SSH on Linux.

The first step is to access SSH with the input

$ ssh username@nameofthecomputer

After running and connecting to a remote computer using a username and password, you need to set up the keys for SSH so that the next time you log in, there will no more password prompt.

The initial step is to set up the public and private keys, its commands, and place them in a separate folder named .ssh in your home directory. You may create a separate folder with the input below.

$ mkdir .ssh


The next step is to create both public and private keys. Input the following below then press enter




$ ssh-keygen  -t nameofthekey


This will create the 'id_nameofthekey (private key)' and 'id_nameofthekey.pub (public key)' inside of the .ssh folder.  You may then change the settings of the private keys with the following command.


$ chmod 600

.ssh/nameofthekey


The command will make the keys readable only to the user. You must then copy and install the public keys to the remote computer.  Using the remote computer, you can copy the file using a pre-installed program by running:


$ scp

.ssh/id_nameofthekey.pub username@nameofthecomputer


You need to input the username and password that was associated with the keys. This will allow a remote computer to access and create a .ssh folder. The next step is to add permission with the following command.


$ chmod 700.ssh


Inside the home directory, type the following to install the public key:


$ cat  id_nameofthekey.pub >>  .ssh/nameoftheauthorized_key


You can now run SSH and test if you have successfully set up a password-free connection for a certain user.


This is one of the basic ways on how to setup SSH on Linux. Other tutorials may be a bit more complicated because at time you need experience when it comes to shell programming. However, with experience and practice, you will be able to set up complicated commands using SSH. All you need is determination and willingness to learn.






Article Categories