Blueroselady's Weblog

I wish you abundant happiness, health & wealth

SSH key

leave a comment »

Using keys has some major advantages over using SSH without keys, such as no more having to type in long and strong passwords all the time.

Public key cryptography uses a public key to encrypt data and a private key to decrypt it.
Public key: the contents of the ~/.ssh/ file
For anyone to actually gain access they need the corresponding private key (i.e. the decrypted contents of ~/.ssh/id_rsa) to identify themselves.

1. create an authentication key for myself. ssh-keygen -t rsa
2. …

ok, I have not been using many clusters, so I am still contented using the ssh without key. Will try to figure out how to use ssh keys later.


Written by blueroselady

July 3, 2009 at 7:06 pm

Posted in study

Leave a Reply

Fill in your details below or click an icon to log in: Logo

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

%d bloggers like this: