Shared Hackathon Server Access - nmdp-bioinformatics/dash GitHub Wiki
Mac and Linux
- If you are using a Mac or Linux machine you can simply open a terminal and ssh to the box using the private key that was provided to you.
ssh -i <path-to-private-key> <username>@shared.dashnet.b12x.org
Windows
Install and Generate .ppk File
- Download and install PuTTY from the Putty download page. Be sure to install the entire suite.
- Start PuTTYgen (for example, from the Start menu, click All Programs > PuTTY > PuTTYgen).
- Under Type of key to generate, select SSH-2 RSA.
- Click Load. By default, PuTTYgen displays only files with the extension .ppk. To locate your .pem file, select the option to display files of all types.
- Click Save private key to save the key in the format that PuTTY can use. PuTTYgen displays a warning about saving the key without a passphrase. Click Yes.
- Specify the same name for the key that you used for the key pair (for example, my-key-pair). PuTTY automatically adds the .ppk file extension.
Note: Your private key is now in the correct format for use with PuTTY. You can now connect to your instance using PuTTY's SSH client.
Launch Putty and Connect to Server
- Start PuTTY (from the Start menu, click All Programs > PuTTY > PuTTY).
- In the Category pane, select Session and complete the following fields:
- In the Host Name box, enter
<username>@dash.b12x.org
Note: if you are connecting to an instance you created from the public AIM, please enter the following into the Host Name boxubuntu@<your-public-ip-address>
- Under Connection type, select SSH.
- Ensure that Port is 22.
- In the Category pane, expand Connection, expand SSH, and then select Auth. Complete the following:
- Click Browse.
- Select the .ppk file that you generated for your key pair, and then click Open.
- (Optional) If you plan to start this session again later, you can save the session information for future use.
- Select Session in the Category tree, enter a name for the session in Saved Sessions, and then click Save.
- Click Open to start the PuTTY session.
- If this is the first time you have connected to this instance, PuTTY displays a security alert dialog box that asks whether you trust the host you are connecting to. Click Yes.