Merge branch 'master' into 3193-manage-account
[arvados.git] / apps / workbench / app / views / users / _manage_setting_up_ssh_access.html.erb
1 <div>
2 <p>
3 Sample <code>~/.ssh/config</code>:
4 </p>
5
6 <pre>
7 Host *.arvados
8   ProxyCommand ssh -p2222 turnout@switchyard.<%= current_api_host || 'xyzzy.arvadosapi.com' %> -x -a $SSH_PROXY_FLAGS %h
9 <% if @my_vm_logins.andand.first %>
10   User <%= @my_vm_logins[@my_vm_logins.andand.keys.first].andand.first %>
11 <% end %>
12 </pre>
13
14 <p>
15 Sample login command:
16 </p>
17
18 <pre>
19 ssh <%= @my_virtual_machines.first.andand.hostname.andand.sub('.'+current_api_host,'') or 'vm-hostname' %>.arvados
20 </pre>
21
22 <p>
23   See also:
24   <%= link_to raw('Arvados Docs &rarr; User Guide &rarr; SSH access'),
25   "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access-unix.html",
26   target: "_blank"%>.
27 </p>
28 </div>