I am running Debian with an Xfce desktop environment and while I've tried many solutions, I always need to enter the passphrase once upon every reboot.
- In macOS, I can simply use
ssh-add -l > /dev/null || ssh-add -Aand macOS' default keychain manager will remember the password in its keychain, resulting in no longer needing to enter the passphrase, but the-Awon't work in Debian.
I have the following in.bashrc:if [ ! -S ~/.ssh/ssh_auth_sock ]; then eval `ssh-agent` ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock fi export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock ssh-add -l > /dev/null || ssh-add - I've also tried using
keychain, which I thought was the same as macOS' keychain, howeverkeychianalso requires the passphrase upon every reboot.
How can I get some Debian key manager to remember the passphrase securely, thereby avoiding the entering of the passphrase forever?