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",
6 <% if @my_virtual_machines.any? or true %>
7 A sample <code>~/.ssh/config</code> entry is provided below.
11 <% if !@my_virtual_machines.any? %>
12 <div id="no_shell_access" class="no_shell_access">
13 <div class="alert alert-warning clearfix">
15 You do not have access to any virtual machines. Some
16 Arvados features require using the command line. You may
17 request access to a hosted virtual machine with the command
20 <div class="pull-right">
22 action: 'request_shell_access',
28 class: 'btn btn-xs btn-primary',
30 disable_with: "Sending request...",
31 on_error_hide: '.no_shell_access .alert-success',
32 on_error_show: '.no_shell_access .alert-danger',
33 on_error_write: '.no_shell_access .alert-danger .error-text',
34 on_success_hide: '.no_shell_access .alert-danger',
36 Send request for shell access
40 <div class="alert alert-success" style="display:none">
41 <p class="contain-align-left"><%# (see javascripts/request_shell_access.js) %></p>
43 <div class="alert alert-danger" style="display:none">
44 <p class="contain-align-left">Sorry, something went wrong. Please try again. (<span class="error-text"></span>)</p>
48 <script> localStorage.removeItem('request_shell_access'); </script>
49 <table class="table virtual-machines-table">
51 <col style="width: 25%" />
52 <col style="width: 25%" />
53 <col style="width: 50%" />
59 <th> Command line </th>
63 <% @my_virtual_machines.andand.each do |vm| %>
65 <td style="word-break:break-all;">
68 <td style="word-break:break-all;">
69 <%= @my_vm_logins[vm[:uuid]].andand.compact.andand.join(", ") %>
71 <td style="word-break:break-all;">
72 <% if @my_vm_logins[vm[:uuid]] %>
73 <% @my_vm_logins[vm[:uuid]].each do |login| %>
74 <code>ssh <%= login %>@<%= vm[:hostname] %>.arvados</code>
83 <p><i>~/.ssh/config:</i></p>
86 ServerAliveInterval 60
87 ProxyCommand ssh -p2222 turnout@switchyard.<%= current_api_host || 'xyzzy.arvadosapi.com' %> -x -a $SSH_PROXY_FLAGS %h