Difference between revisions of "Setting up your local machine"

From NMSL
(New page: __TOC__ == Generate SSH Certificate == The instructions below are for Linux and Mac OSX. If you are not on Linux or OSX, I suggest you SSH into either ''nsl.cs.sfu.ca'' or one of the clu...)
 
 
Line 3: Line 3:
 
== Generate SSH Certificate ==
 
== Generate SSH Certificate ==
  
The instructions below are for Linux and Mac OSX. If you are not on Linux or OSX, I suggest you SSH into either ''nsl.cs.sfu.ca'' or one of the cluster machines.
+
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.
 +
 
 +
<pre>
 +
ssh-keygen -t rsa
 +
</pre>
 +
 
 +
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.
 +
 
 +
<pre>
 +
StrictHostKeyChecking no
 +
BatchMode yes
 +
</pre>

Latest revision as of 20:19, 18 August 2009

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