
Once you have encrypted your password, you will receive a string containing the encrypted data.

To encrypt passwords or other sensitive data securely: ssh-crypt -e -s 'testpassword' To use this module, simply add your ssh key to the ssh-agent: /usr/bin/ssh-add -t 1d -k ~/.ssh/id_rsaĪfter entering your master password, your ssh key is now stored in the ssh-agent. However, once your ssh key is removedįrom the ssh-agent, neither you nor anyone else can use it to encrypt or decrypt sensitive data. Passwords within your shell scripts while your key is in the ssh-agent. This allows you to use your key as an encryption key, and decrypt your

To keep your ssh key (or use your key device). Here's how it works: you protect your ssh key with a master password or a special device, and then use the ssh-agent

Sometimes, you may need to store passwords within your shell scripts, but doing so in plain text is a major security risk.įortunately, this module can help you keep your passwords encrypted and secure.
