Home > bash > ssh login without a password

ssh login without a password

Problem:
ssh login without a password

Solution:
This is a common enough problem. There are a many of solutions on the net. This one worked for me.
http://maduraisenthilscorner.blogspot.com/2011/02/ssh-login-without-password.html

NB.
In my case the machine was already configured to ssh to some servers without specifying a password. I just needed to add another server to the list. So all I had to do from the instructions from Senthil Kumar’s blog was

senthil@linux-5xxh:~> cat .ssh/id_rsa.pub | ssh siva@192.168.2.20 ‘cat >> .ssh/authorized_keys’
Password:

Once I copied over the public key. I was able to ssh without a password.

Advertisements
Categories: bash Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

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: