Home > HOWTOs > Passwordless login from ahmed@AMD to bhs@BHS server.

Passwordless login from ahmed@AMD to bhs@BHS server.

Passwordless login from ahmed@AMD to bhs@BHS server.
Use the 3 simple commands below.
ahmed@AMD:~> ssh-keygen -t rsa
ahmed@AMD:~> ssh bhs@BHS mkdir -p .ssh
ahmed@AMD:~> cat ~/.ssh/id_rsa.pub | ssh bhs@BHS ‘cat >> .ssh/authorized_keys’

Testing
ahmed@AMD:~> ssh bhs@BHS 
Advertisements
Categories: HOWTOs
  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: