details);
$details = hesc($event->details);
switch($json->action) {
case 'Server add':
$details = 'Added server to key management';
break;
case 'Group add':
$details = 'Created group';
break;
case 'Account add':
$details = 'Added account '.hesc($json->value);
break;
case 'Account remove':
// Legacy event type
$details = 'Removed account '.hesc($json->value);
break;
case 'Access request':
$details = 'Requested access for '.show_event_participant($json->value);
break;
case 'Access approve':
$details = 'Approved access for '.show_event_participant($json->value);
break;
case 'Access reject':
$details = 'Rejected access for '.show_event_participant($json->value);
break;
case 'Access add':
$details = 'Added access for '.show_event_participant($json->value);
break;
case 'Access remove':
$details = 'Removed access for '.show_event_participant($json->value);
break;
case 'Administrator add':
$details = 'Added administrator '.show_event_participant($json->value);
break;
case 'Administrator remove':
$details = 'Removed administrator '.show_event_participant($json->value);
break;
case 'Member add':
$details = 'Added member '.show_event_participant($json->value);
break;
case 'Member remove':
$details = 'Removed member '.show_event_participant($json->value);
break;
case 'Pubkey add':
$details = 'Added public key '.hesc($json->value);
break;
case 'Pubkey remove':
$details = 'Removed public key '.hesc($json->value);
break;
case 'Setting update':
$details = hesc($json->field).' changed from '.hesc($json->oldvalue).'
to '.hesc($json->value).'
';
break;
case 'Sync status change':
$details = 'Sync status: '.hesc($json->value);
break;
}
?>
On Windows you will typically use the PuTTYgen application to generate your key pair.
On Mac you can generate a key pair with the ssh-keygen command.
ssh-keygen -t rsa -b 4096 -C 'comment'
, replacing 'comment' with your own comment - a good idea is to include your user name and the current date in the comment to make the key easier to identify.
.ssh
directory called id_rsa.pub
. Copy the contents of that file into your clipboard.
On Linux you can generate a key pair with the ssh-keygen command.
ssh-keygen -t rsa -b 4096 -C 'comment'
, replacing 'comment' with your own comment - a good idea is to include your user name and the current date in the comment to make the key easier to identify.
sudo apt-get install openssh-client
on Debian-based systems.
cat ~/.ssh/id_rsa.pub
. The output is your public key. Copy it into your clipboard.