But, this is like storing your passwords on a sticky note-anyone can view them if they have access to it.
Your private SSH key is like a password, and is saved locally on your computer.
Your public SSH key is like your username or identity, and you can share it with everybody. It’s built into ssh, and is easy to set up and use. SSH agent forwarding allows you to use your private, local SSH key remotely without worrying about leaving confidential data on the server you’re working with.