login to Ginhub
Trying to deploy a django I constantly failed to authenticate my Github account.
I face two different issues:
How to automate the Github authentication?
Which password should I use?
ssh keygen add key.pub add agent and authenticate
In Github I:
- added new ssh
- generated personal token
- switched https to ssl
On my DO server I note the file
PasswordAuthentication no #Port 22 ##HostKey /etc/ssh/ssh_host_rsa_key #HostKey /etc/ssh/ssh_host_ecdsa_key #HostKey /etc/ssh/ssh_host_ed----_key
Should I uncomment any of these?
After adding the clone git command I request to add my GitHub username and password… then it fails.
I tried with:
- Git personal token
- pasting the actual string of the key
- clone into Https or ssh
- ssh -T firstname.lastname@example.org
I constantly fail.
I run the command to a user (not root) that was granted rights.
Any tip, advice on how to overcome this hurdle would be highly appreciated
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×