3 For more information see <%= link_to raw('Arvados Docs → User Guide → SSH access'),
4 "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access-unix.html",
5 target: "_blank"%>. A sample <i>~/.ssh/config</i> entry is provided below.
8 <% if !@my_virtual_machines.any? %>
9 <div id='no_shell_access' class='no_shell_access'>
10 <div class='no_shell_access_msg'>
11 You do not have access to any virtual machines.
12 Some Arvados features require using the command line.
13 You may request access to a hosted virtual machine with the command line shell.
15 <div style='display:inline-block'>
16 <%= button_to('Send request for shell access', request_shell_access_user_url(id: current_user.uuid),
17 id: 'request_shell_submit', class: 'btn btn-xs btn-primary', remote: true) %>
20 <div class='shell_access_requested alert alert-info'>
21 <p id='shell_access_requested_msg' class="contain-align-left">A request for shell access was sent eariler.</p>
25 <script> localStorage.removeItem('request_shell_access'); </script>
26 <table class="table virtual-machines-table">
28 <col style="width: 25%" />
29 <col style="width: 25%" />
30 <col style="width: 50%" />
36 <th> Command line </th>
40 <% @my_virtual_machines.andand.each do |vm| %>
42 <td style="word-break:break-all;">
45 <td style="word-break:break-all;">
46 <%= @my_vm_logins[vm[:uuid]].andand.compact.andand.join(", ") %>
48 <td style="word-break:break-all;">
49 <% if @my_vm_logins[vm[:uuid]] %>
50 <% @my_vm_logins[vm[:uuid]].each do |login| %>
51 <code>ssh <%= login %>@<%= vm[:hostname] %>.arvados</code>
60 <p><i>~/.ssh/config:</i></p>
63 ServerAliveInterval 60
64 ProxyCommand ssh -p2222 turnout@switchyard.<%= current_api_host || 'xyzzy.arvadosapi.com' %> -x -a $SSH_PROXY_FLAGS %h