X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/19ae770973482257117fe8ded5619c3018c4b60f..6d1c41d6fd83824669cd1a6d714ea6da1ae7ab4c:/apps/workbench/app/views/users/_virtual_machines.html.erb diff --git a/apps/workbench/app/views/users/_virtual_machines.html.erb b/apps/workbench/app/views/users/_virtual_machines.html.erb index fc54178dcc..57b4d6aa38 100644 --- a/apps/workbench/app/views/users/_virtual_machines.html.erb +++ b/apps/workbench/app/views/users/_virtual_machines.html.erb @@ -1,3 +1,7 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> +

@@ -11,7 +15,7 @@

For more information see <%= link_to raw('Arvados Docs → User Guide → VM access'), - "#{Rails.configuration.arvados_docsite}/user/getting_started/vm-login-with-webshell.html", + "#{Rails.configuration.Workbench.ArvadosDocsite}/user/getting_started/vm-login-with-webshell.html", target: "_blank"%>.

@@ -64,8 +68,8 @@ Host name Login name Command line - <% if Rails.configuration.shell_in_a_box_url %> - Web shell beta + <% if Rails.configuration.Services.WebShell.ExternalURL != URI("") %> + Web shell <% end %> @@ -81,11 +85,11 @@ <% if @my_vm_logins[vm[:uuid]] %> <% @my_vm_logins[vm[:uuid]].each do |login| %> - ssh <%= login %>@<%= vm[:hostname] %>.arvados + ssh <%= login %>@<%= vm[:hostname] %><%=Rails.configuration.Workbench.SSHHelpHostSuffix%> <% end %> <% end %> - <% if Rails.configuration.shell_in_a_box_url %> + <% if Rails.configuration.Services.WebShell.ExternalURL != URI("") %> <% @my_vm_logins[vm[:uuid]].andand.each do |login| %> <%= link_to webshell_virtual_machine_path(vm, login: login), title: "Open a terminal session in your browser", class: 'btn btn-xs btn-default', target: "_blank" do %> @@ -101,9 +105,7 @@ <% end %>

-

In order to access virtual machines using SSH, <%= link_to ssh_keys_user_path(current_user) do%> add an SSH key to your account<%end%> and add a section like this to your SSH configuration file ( ~/.ssh/config):

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

In order to access virtual machines using SSH, <%= link_to ssh_keys_user_path(current_user) do%>add an SSH key to your account<%end%>.

+ +<%= raw(Rails.configuration.Workbench.SSHHelpPageHTML) %>