Keys management

Welcome to the SSH Key Authority server.

get('user_keys')) == 0) { ?>

Getting started

To start using the key management system, you must first generate a "key pair". The instructions for doing this vary based on your computer's Operating System (OS).

get('active_user')->get_csrf_field(), ESC_NONE) ?>

Your public keys

get('active_user')->get_csrf_field(), ESC_NONE) ?> get('user_keys') as $key) { ?>
Type Fingerprint Size Comment Actions
type) ?> fingerprint_md5) ?> fingerprint_sha256) ?> list_signatures()) > 0) { ?> list_destination_rules()) > 0) { ?> keysize) ?> comment) ?> Manage public key

get('admined_servers')) > 0) { ?>

Your servers

You are listed as an administrator for the following servers:

get('admined_servers') as $server) { if($server->key_management != 'keys') { $class = ''; } else { switch($server->sync_status) { case 'not synced yet': $class = 'warning'; break; case 'sync failure': $class = 'danger'; break; case 'sync success': $class = 'success'; break; case 'sync warning': $class = 'warning'; break; } } if($last_sync = $server->get_last_sync_event()) { $sync_details = json_decode($last_sync->details)->value; } else { $sync_details = ucfirst($server->sync_status); } ?>
Hostname Config Admins Status
hostname) ?> pending_requests > 0) { ?> pending_requests)) ?> key_management) { case 'keys': switch($server->authorization) { case 'manual': out('Manual account management'); break; case 'automatic LDAP': out('LDAP accounts - automatic'); break; case 'manual LDAP': out('LDAP accounts - manual'); break; } break; case 'other': out('Managed by another system'); break; case 'none': out('Unmanaged'); break; case 'decommissioned': out('Decommissioned'); break; } ?> admins); $admin_list = ''; foreach($admins as $admin) { $type = substr($admin, 0, 1); $name = substr($admin, 2); if($type == 'G') { $admin_list .= ' '; } $admin_list .= hesc($name).', '; } $admin_list = substr($admin_list, 0, -2); out($admin_list, ESC_NONE); ?>
list_accounts() as $server_account) { ?>
name) ?>:
list_access() as $access) { $entity = $access->source_entity; switch(get_class($entity)) { case 'User': $list[] = hesc($entity->uid); break; case 'ServerAccount': $list[] = hesc($entity->name.'@'.$entity->server->hostname); break; case 'Group': $list[] = ' '.hesc($entity->name); break; } } ?>