ssh without password

Here is a simple how-to on setting up ssh without password

1) Client%: ssh-keygen2
2) Client%: scp id_dsa_2048_a.pub user@server:/$home/.ssh2/id_dsa_2048_a.client.pub
3) Client%: vi identification and put in this line IdKey id_dsa_2048_a

1) Server%: Login as user
2) If .ssh2 directory doesn’t exist then create one under $home/.ssh2
3) Server%: vi authorization and put in this line Key id_dsa_2048_a.client.pub

1) Client%: ssh user@Server

This should do the trick.

Advertisements

One thought on “ssh without password

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