Setting up your local machine

From NMSL

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