X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/079d6e0e42bfde5f21bd00e963c3a180d2950f5b..d44a5c508cfa664134daad806d7be9a7cb0bd6ee:/apps/workbench/app/views/users/_manage_ssh_keys.html.erb diff --git a/apps/workbench/app/views/users/_manage_ssh_keys.html.erb b/apps/workbench/app/views/users/_manage_ssh_keys.html.erb index e559356f72..17b64b27f9 100644 --- a/apps/workbench/app/views/users/_manage_ssh_keys.html.erb +++ b/apps/workbench/app/views/users/_manage_ssh_keys.html.erb @@ -1,24 +1,23 @@
<% if !@my_ssh_keys.any? %>

You have not yet set up an SSH public key for use with Arvados.

-

<%= link_to "Click here to learn about SSH keys in Arvados.", +

<%= link_to "Click here", "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access-unix.html", style: "font-weight: bold", - target: "_blank" %>

+ target: "_blank" %> to learn about SSH keys in Arvados. +

When you have an SSH key you would like to use, add it using the Add button.

- <% end %> - - <% if @my_ssh_keys.andand.any? %> + <% else %> - - + + - + @@ -31,7 +30,13 @@
Name Key Finger Print Key Fingerprint
<% if key[:public_key] && key[:public_key].size > 0 %>
- <%= SSHKey.fingerprint key[:public_key] %> + <%= + begin + SSHKey.fingerprint key[:public_key] + rescue + "INVALID KEY: " + key[:public_key] + end + %>
<% else %> <%= key[:public_key] %>