4 title: Setting up SSH access
8 # Setting up SSH access
10 Arvados uses SSH public key authentication for two things:
12 * logging in to a VM, and
13 * pushing code to a git repository.
15 ### Generate a public/private SSH key pair
17 If you don't already have an SSH key pair (or you don't know whether
18 you do), there are lots of tutorials out there to help you get
22 tutorial](https://www.google.com/search?q=github+ssh+key+help)
24 ### Associate your SSH public key with your Arvados Workbench account
26 Go to the `Keys` tab in Arvados Workbench and click the
28 `Add a new authorized key`
30 button. Then click on 'none' in the public_key column, and copy and paste your public key:
32 ![Screen shot of the ssh public key box]({{ site.baseurl }}/images/ssh-adding-public-key.png)
34 Click on the checkmark button to save your public key.
36 ### Unix-like systems: set up an ~/.ssh/config snippet for quick ssh access
38 **Please make sure to replace 9ujm1.arvadosapi.com with your arvados hostname in the examples below.**
40 On your workstation, add the following section to your `~/.ssh/config`
44 ProxyCommand ssh turnout@switchyard.9ujm1.arvadosapi.com %h %p %u
47 If you have access to an account `foo` on a VM called `blurfl` then
48 you can log in like this:
50 ssh foo@blurfl.arvados
52 If you want to shorten this and you always/usually have access to the
53 `foo` account on VMs, you can add a section like this to
57 ProxyCommand ssh turnout@switchyard.9ujm1.arvadosapi.com %hrvados %p %u
61 Then you can log in to the `blurfl` VM as `foo` like this:
65 (Arvados Workbench will show you a list of VMs you have access to and
66 what your account name is for each one.)
68 ### Windows: Setup instructions for PuTTY
70 {% include alert-stub.html %}
72 If you use Microsoft Windows, you should download the PuTTY software.
74 * Details about configuring PuTTY would be nice here.