How do I save my ssh passphrase in the keychain while using Git?

My git keeps asking for passphrase on every push after logging in to the system. Is there a way to permanently save this passphrase somewhere so I don’t have to type it repeatedly?
In Mac, there is a keychain; is there something similar in Manjaro too?

Yes. Did you trying searching the internet? See: Git - ArchWiki

@Yochanan ArchWiki gives details about how to use keychain package which will cache passphrase until system reboots. Is there a way to save it permanently so that it persists even after reboot?

That’s because using a keyring or SSH is more secure. You can also store it in the ~/.git-credentials file, however, it’s stored in plain text and anyone can read it.

git config --global credential.helper store

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.