ssh-manager

command module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

SSH Key Manager for Bitwarden and 1Password

logo

Check Coverall Report Doc License

CLI command to manage SSH keys stored on Bitwarden and 1Password

Usage:
  ssh-manager [command]

Available Commands:
  add         Add SSH key to given provider.
  get         Get SSH key from given provider.
  help        Help about any command
  list        List SSH keys from given provider.
  version     Print the version/build number

Flags:
  -h, --help              help for ssh-manager
      --logLevel string   Set the logging level. One of: debug|info|warn|error (default "info")

Use "ssh-manager [command] --help" for more information about a command.

Requirements

  • Have the Bitwarden CLI tool installed and available in the $PATH as bw.
  • Or have the 1Password CLI tool installed and available in the $PATH as op.
  • Have the ssh-agent running in the current session.

What does it do?

Injects SSL keys to ssh-agent stored in Bitwarden or 1Password.

How to use it

  1. Login to Bitwarden or 1Password with bw or op.
  2. Add your key pairs to your password manager.

For Bitwarden

ssh-manager add --name my-server --private-key $PK_PATH --public-key $PUB_KEY_PATH --provider bw

For 1Password

ssh-manager add --name my-another-server --private-key $PK_PATH --public-key $PUB_KEY_PATH --provider op

Improvements to be made

  • 100% test coverage.
  • Better covering for other features.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
io
ssh

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL