~fabrixxm/keys

The unnecessary CLI to manage SSH keys
Add 'identity set' and 'identity unset' command
Update README
Update climatik to 0.4.1

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~fabrixxm/keys
read/write
git@git.sr.ht:~fabrixxm/keys

You can also use your local clone with git send-email.

The unnecessary CLI to manage SSH keys

#Usage

Local keys

usage: keys [-h] {list,cat,generate,rm,authorize,authorized,unauthorize,remote} ...

options:
  -h, --help            show this help message and exit

Subcommands:
  {list,cat,generate,rm,authorize,authorized,unauthorize,remote}
    list                List keys.
    cat                 Print public key.
    generate            Generate a new keypair.
    rm                  Delete a keypair.
    authorize           Add public key to authorized keys.
    authorized          List authorized public keys.
    unauthorize         Remove public key from authorized keys.
    remote              Manage keys on remote

Remote keys

usage: keys remote [-h] {publish,list,unauthorize} ...

Manage authorized keys on remote host

options:
  -h, --help            show this help message and exit

Subcommands:
  {publish,list,unauthorize}
    publish             Add public key to remote authorized keys list.
    list                List authorized keys on remote.
    unauthorize         #TODO

#Requires

  • python3
  • ssh-keygen
  • ssh-copy-id