keyport-0.5.0 has been yanked.
Keyport: A SSH utility program
Simplifies adding and removing SSH keys on UNIX like systems.
Requires openssh installed on your system.
Disclaimer
This is a rather hacky solution at the moment, so things might not work as expected.
Installing
Basic usage
When specifying only the name of a key, keyport will assume you mean a key in ~/.ssh/.
keyport show id_rsawill show the key~/.ssh/id_rsa.pubkeyport remove ./my_keywill remove themy_keykey in the current directory.keyport add /path/to/keywill let you add the key at the specified path.
Adding an already generated key
Removing an added key
Show a public key
Set the password of a key
TODOs
- Show command to show public keys
- Allow for password protection
- Support custom editors
- List command to list active and inactive keys
- Generating new keys
- Open temporary files for the keys, validate them and only if everything is fine write them to the ssh directory.
- Writing keys to temporary files first.
- Key validation (when adding)
- Improve the error handling