This document is for accessing an Arvados VM using SSH keys in Windows environments. If you would like to use to access VM through your browser, please visit the Accessing an Arvados VM with Webshell page. If you are using a Unix environment (Linux, OS X, Cygwin), please visit the Accessing an Arvados VM with SSH – Unix Environments page.
Arvados requires a public SSH key in order to securely log in to an Arvados VM instance, or to access an Arvados Git repository. The three sections below help you get started:
(Note: if you are using the SSH client that comes with Cygwin, please use instructions found in the Accessing an Arvados VM with SSH – Unix Environments page.)
We will be using PuTTY to connect to Arvados. PuTTY is a free (MIT-licensed) Win32 Telnet and SSH client. PuTTY includes all the tools a Windows user needs to create private keys and make SSH connections to your virtual machines in the Arvados Cloud.
You can download PuTTY from its Web site. Note that you should download the installer or .zip file with all of the PuTTY tools (PuTTYtel is not required).
If you downloaded the zip file, extract it to the location you wish to install the PuTTY applications. This document assumes that you installed PuTTY in the default directory under C:\Program Files\
or C:\Program Files (x86)\
(if you are using a 64 bit operating system).
C:\Program Files\
or C:\Program Files (x86)\
(if you are using a 64 bit operating system).PATH
.C:\Program Files\PuTTY\
, add the following to the end of PATH:;C:\Program Files\PuTTY
C:\Program Files (x86)\PuTTY\
, add the following to the end of PATH:;C:\Program Files (x86)\PuTTY
Pageant is a PuTTY utility that manages your private keys so is not necessary to enter your private key passphrase every time you make a new SSH connection.
You may now proceed to adding your key to the Arvados Workbench.
In the Workbench top navigation menu, click on the dropdown menu icon to access the user settings menu and click on the menu item SSH keys to go to the SSH keys page. Click on the + Add new SSH key button in this page. This will open a popup as shown in this screenshot:
Paste your public key into the text area labeled Public Key, and click on the Submit button. You are now ready to log into an Arvados VM.
To see a list of virtual machines that you have access to and determine the name and login information, click on the dropdown menu icon in the upper right corner of the top navigation menu to access the user settings menu and click on the menu item Virtual machines to go to the Virtual machines page. This page lists the virtual machines you can access. The Host name column lists the name of each available VM. The Login name column will have a list of comma separated values of the form you
. In this guide the hostname will be shell and the login will be you. Replace these with your hostname and login name as appropriate.
plink -P 2222 turnout@switchyard.pirca.arvadosapi.com %host
Note: We recommend you do not delete the “Default” Saved Session.
Note: If you see a hung PuTTY terminal window with no further action: open a new Command Prompt window using the Windows → Start menu and type plink -P 2222 turnout@switchyard.pirca.arvadosapi.com shell
in it. Please make sure to replace shell with the hostname listed in the Virtual Machines page. Hit enter and type y when prompted to cache the session state. Go back and start PuTTY session using the start menu button.
You should now be able to log into the Arvados VM and check your environment.
The content of this documentation is licensed under the
Creative
Commons Attribution-Share Alike 3.0 United States licence.
Code samples in this documentation are licensed under the
Apache License, Version 2.0.