For more information see <%= link_to raw('Arvados Docs → User Guide → SSH access'), "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access-unix.html", target: "_blank"%>. A sample ~/.ssh/config entry is provided below.

<% if !@my_virtual_machines.any? %> You do not seem to have access to any virtual machines. If you would like to request access, please contact your system admin. <% else %> <% @my_virtual_machines.andand.each do |vm| %> <% end %>
Host name Login name Command line
<%= vm[:hostname] %> <%= @my_vm_logins[vm[:uuid]].andand.compact.andand.join(", ") %> <% if @my_vm_logins[vm[:uuid]] %> <% @my_vm_logins[vm[:uuid]].each do |login| %> ssh <%= login %>@<%= vm[:hostname] %>.arvados <% end %> <% end %>

~/.ssh/config:

Host *.arvados
      ProxyCommand ssh -p2222 turnout@switchyard.<%= current_api_host || 'xyzzy.arvadosapi.com' %> -x -a $SSH_PROXY_FLAGS %h
    
<% end %>