Are there any advantages to using SSH keys vs. a PAT when interacting with a site like Github?
Github claims SSH keys are a way to not have to enter your username + password (personal access token) with every interaction, however, my Keychain manager takes care of storing my personal access token and I'm not prompted again to login.
So ... why bother with SSH vs just having the PAT in my Keychain? Is it more secure? Is it that PATs are more easily compromised?
- This stack overflow indicates PATs may be better because you get more granular control
- This stack overflow suggests some repos may only allow SSH connections.