1.0.6 • Published 2 years ago
bw-ssh v1.0.6
bw-ssh
Use Bitwearden to store SSH config and private keys and load them into ssh agent.
Put your private keys into bitwarden folder with the name
sshas follows:- Create secure note item, put private key content into
notesfield, make sure trailing new line is present - If your key is protected with the password, put it into hidden field with
the name
password - If you want to put public key as well, store it within custom text field
public, it will be stored on fs with suffix.pubadded - Name item with the name as you want it published inside
~/.sshfolder
- Create secure note item, put private key content into
Put your ssh config file into the same
sshfolder with the nameconfig.IncludeandIdentityFileoptions will be processed and replaced with the filenames from other items (if exist).
Subfolders in file names are supported as well.
Example
Item name: config
Include other/configAfter processing:
Include /Users/me/.ssh/configItem name: other/config
Host example.com
User me
IdentityFile other/me.keyAfter processing:
Host example.com
User me
IdentityFile /Users/me/.ssh/other/me.keyItem name: other/me.key
----BEGIN .....
.....
----END .......Changelog
1.0.6
- set SSH_ASKPASS_REQUIRE to 'force'