${_('SSH Keys')}

% if not c.ssh_enabled: % else: %if c.user_ssh_keys: %for ssh_key in c.user_ssh_keys: %endfor %else: %endif % endif
${_('Fingerprint')} ${_('Description')} ${_('Created on')} ${_('Accessed on')} ${_('Action')}
${_('SSH Keys usage is currently disabled, please ask your administrator to enable them.')}
${ssh_key.ssh_key_fingerprint} ${ssh_key.description} ${h.format_date(ssh_key.created_on)} ${h.format_date(ssh_key.accessed_on)} ${h.secure_form(h.route_path('my_account_ssh_keys_delete'), request=request)} ${h.hidden('del_ssh_key', ssh_key.ssh_key_id)} ${h.end_form()}
${_('No additional ssh keys specified')}
% if c.ssh_enabled:
${h.secure_form(h.route_path('my_account_ssh_keys_add'), request=request)}
${h.text('description', class_='medium', placeholder=_('Description'))} ${_('Generate random RSA key')}
${h.textarea('key_data',c.default_key, size=30, placeholder=_("Public key, begins with 'ssh-rsa', 'ssh-dss', 'ssh-ed25519', 'ecdsa-sha2-nistp256', 'ecdsa-sha2-nistp384', or 'ecdsa-sha2-nistp521'"))}
${h.submit('save',_('Add'),class_="btn")} ${h.reset('reset',_('Reset'),class_="btn")}
% if c.default_key: ${_('Click add to use this generate SSH key')} % endif
${h.end_form()}
% endif