X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0f644e242ef37c911ad3dc25aca8135c339de349..864c3b0afd16c77e046f0072d8517d34c5a44792:/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 928f50f0b6..57b4d6aa38 100644 --- a/apps/workbench/app/views/users/_virtual_machines.html.erb +++ b/apps/workbench/app/views/users/_virtual_machines.html.erb @@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0 %>

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"%>.

@@ -68,8 +68,8 @@ SPDX-License-Identifier: AGPL-3.0 %> 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 %> @@ -85,11 +85,11 @@ SPDX-License-Identifier: AGPL-3.0 %> <% 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 %> @@ -105,9 +105,7 @@ SPDX-License-Identifier: AGPL-3.0 %> <% 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) %>