Generate Certificates

From NMSL
Revision as of 20:21, 18 August 2009 by Cly (talk | contribs) (New page: __TOC__ == Generate SSH Certificate == The instructions below are for Linux and Mac OSX. If you are not on Linux or OSX, you should SSH into either ''nsl.cs.sfu.ca'' or one of the cluste...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Generate SSH Certificate

The instructions below are for Linux and Mac OSX. If you are not on Linux or OSX, you should SSH into either nsl.cs.sfu.ca or one of the cluster machines in the lab.

The first step is to generate an private and public keys. Follow the instructions on the screen. When prompted for passphrase - leave it blank! Make note of the location of the keys.

ssh-keygen -t rsa

Once the keys are generated you will need to submit the public key (.pub) to your PlanetLab account (under My Account->Keys). The private key should be copied to the ~/.ssh/ folder if it's not already there.


Configuring SSH

The next step is to relax SSH. Open/create the file ~/.ssh/config

Make sure you have these two lines in the config file.

StrictHostKeyChecking no
BatchMode yes