2 <% if !@my_ssh_keys.any? %>
3 <p> You have not yet set up an SSH public key for use with Arvados. </p>
4 <p> <%= link_to "Click here",
5 "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access-unix.html",
6 style: "font-weight: bold",
7 target: "_blank" %> to learn about SSH keys in Arvados.
9 <p> When you have an SSH key you would like to use, add it using the <b>Add</b> button. </p>
11 <table class="table manage-ssh-keys-table">
13 <col style="width: 35%" />
14 <col style="width: 55%" />
15 <col style="width: 10%" />
20 <th> Key Fingerprint </th>
25 <% @my_ssh_keys.andand.each do |key| %>
26 <tr style="word-break:break-all;">
30 <td style="word-break:break-all;">
31 <% if key[:public_key] && key[:public_key].size > 0 %>
33 <span title="<%=key[:public_key]%>"> <%=
35 SSHKey.fingerprint key[:public_key]
37 "INVALID KEY: " + key[:public_key]
42 <%= key[:public_key] %>
46 <%= link_to(authorized_key_path(id: key[:uuid]), method: :delete, class: 'btn btn-sm', data: {confirm: "Really delete key?"}) do %>
47 <i class="fa fa-fw fa-trash-o"></i>