Home > bash > ssh login without a password

ssh login without a password

ssh login without a password

This is a common enough problem. There are a many of solutions on the net. This one worked for me.

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@ ‘cat >> .ssh/authorized_keys’

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

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: