SSHaMan is open-source SSH connections manager written in go.
go install github.com/Dafaque/sshaman/cmd/sshaman@latestSSHAMAN_HOME- path to the directory where the application will store its data
Command bellow will help you create new credentials for localhost:22 with user admin and ssh key ~/.ssh/id_ed25519:
sshaman add \
-n myfirstserver \
-h localhost \
-u admin \
-k ~/.ssh/id_ed25519 \
-no-pw \
-no-ppCommnd bellow will override myfirstserver with user user and password authentication:
sshaman add \
-n myfirstserver \
-h localhost \
-u user \
-fsshaman listsshaman connect -n myfirstserverTo create sshaman.enc in the current directory run:
sshaman exportWarning
You can skip the password prompt, but this is not recommended since the application is open source
Caution
Exporting credentials will overwrite the existing sshaman.enc file.
To import recently exported sshaman.enc file cd to the directory where the file is located and run:
sshaman importCommand below will delete credentials
sshaman remove -n myfirstserverCaution
This operation is irreversible.
Command below will delete credentials
sshaman dropCaution
This operation is irreversible.
Usage of add:
-f force operation
-h string
new ssh connection's address
-k string
new ssh connection's key file path
-n string
new ssh connection's alias
-no-pp
skip key's passphrase prompt
-no-pw
skip password prompt
-p int
new ssh connection's port (default 22)
-u string
new ssh connection's user
Usage of connect:
-n string
ssh connection's allias to conect
Usage of remove:
-n string
ssh connection's allias to conect
Usage of drop:
-f force operation
Usage of import:
-dry
view what would be imported
-no-pw
skip password prompt
Usage of export:
-no-pw
skip password prompt
Usage sshaman:
-v show app details