Which authentication method is best practice? #2073
-
I'm looking to push to a remote branch. Whenever I try to push a commit, It prompts me to enter a Username (See Attached Screenshot). After entering my Username, it prompts me to input my password. Regular passwords have been depreciated. Is the best approach to set up a "Fine-grained personal access tokens" to use as a password? Would it be better to set it up with "SSH key passphrases". Optimally, I'm not prompted to input anything when I push commits. With that being said, Is SSH preferred? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I personally use SSH, with an agent to avoid needing to enter the passphrase every time. Tokens will work too. |
Beta Was this translation helpful? Give feedback.
I personally use SSH, with an agent to avoid needing to enter the passphrase every time. Tokens will work too.