SSH login without password ( for linux user )

I Program to Make a ____(you name it!!) World

In this post I will explain how to generate a unique pair of ssh-key for logging into remote server. The original post can be found here.

Very often when we login into remote server, we do not only need to type the ssh command but also to enter the password which might be difficult to remember. With ssh-key you can generate a unique pair of key, so the server (say b) when understand that you are connecting it from trusted machine (say a).

Below I will explain the the procedure step by step.

Step 1. Generate the private-public key pair

Then you will see the following output:

Generating public/private rsa key pair.
Enter file in which to save the key (/home/a/.ssh/id_rsa):
Created directory ‘/home/a/.ssh’.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/a/.ssh/id_rsa.
Your public key has been saved…

View original post 171 more words

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