<div>
-<h4>Add / Delete SSH Keys</h4>
<% if !@my_ssh_keys.any? %>
<p> You have not yet set up an SSH public key for use with Arvados. </p>
<p> <%= link_to "Click here to learn about SSH keys in Arvados.",
<% end %>
<% if @my_ssh_keys.andand.any? %>
- <table class="table virtual-machines-table">
+ <table class="table virtual-machines-table" style="table-layout:fixed; overflow:hidden; white-space: nowrap;">
<colgroup>
<col style="width: 15%" />
<col style="width: 80%" />
<tbody>
<% @my_ssh_keys.andand.each do |key| %>
<tr>
- <td style="word-break:break-all;">
+ <td style="width:50px; overflow:hidden;">
<%= key[:name] %>
</td>
- <td style="word-break:break-all;">
+ <td style="width:100px; overflow:hidden;">
<%= key[:public_key] %>
</td>
<td>
</table>
<% end %>
</div>
-
-<hr>
-
-<div>
-<h4>Setting up SSH access</h4>
-<p>
-Sample <code>~/.ssh/config</code>:
-</p>
-
-<pre>
-Host *.arvados
- ProxyCommand ssh -p2222 turnout@switchyard.<%= current_api_host || 'xyzzy.arvadosapi.com' %> -x -a $SSH_PROXY_FLAGS %h
-<% if @my_vm_logins.andand.first %>
- User <%= @my_vm_logins[@my_vm_logins.andand.keys.first].andand.first %>
-<% end %>
-</pre>
-
-<p>
-Sample login command:
-</p>
-
-<pre>
-ssh <%= @my_virtual_machines.first.andand.hostname.andand.sub('.'+current_api_host,'') or 'vm-hostname' %>.arvados
-</pre>
-
-<p>
- See also:
- <%= link_to raw('Arvados Docs → User Guide → SSH access'),
- "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access-unix.html",
- target: "_blank"%>.
-</p>
-</div>