Merge branch '8784-dir-listings'
[arvados.git] / apps / workbench / app / views / virtual_machines / _show_help.html.erb
1 <%# Copyright (C) The Arvados Authors. All rights reserved.
2
3 SPDX-License-Identifier: AGPL-3.0 %>
4
5 <p>
6 Sample <code>~/.ssh/config</code> section:
7 </p>
8
9 <pre>
10 Host *.arvados
11   ProxyCommand ssh -p2222 turnout@switchyard.<%= current_api_host || 'xyzzy.arvadosapi.com' %> -x -a $SSH_PROXY_FLAGS %h
12 <% if @objects.first.andand.current_user_logins.andand.first %>
13   User <%= @objects.first.current_user_logins.andand.first %>
14 <% end %>
15 </pre>
16
17 <p>
18 Sample login command:
19 </p>
20
21 <pre>
22 ssh <%= @objects.first.andand.hostname.andand.sub('.'+current_api_host,'') or 'vm-hostname' %>.arvados
23 </pre>
24
25 <p>
26   See also:
27   <%= link_to raw('Arvados Docs &rarr; User Guide &rarr; SSH access'),
28   "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access-unix.html",
29   target: "_blank"%>.
30 </p>