Skip to content

Instantly share code, notes, and snippets.

@format37
Created June 3, 2020 14:22
Show Gist options
  • Save format37/fb679260f1dda7865d93c264612ea6f4 to your computer and use it in GitHub Desktop.
Save format37/fb679260f1dda7865d93c264612ea6f4 to your computer and use it in GitHub Desktop.
git deploy key using
ssh-keygen -t rsa -b 4096 -C "format37@gmail.com"
/home/alex/.ssh/id_rsa_REPO_NAME
cat /home/alex/.ssh/id_rsa_REPO_NAME.pub
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa_REPO_NAME
@format37
Copy link
Author

format37 commented Sep 5, 2021

ssh
Too many authentication failures

nano ~/.ssh/config

set IdentitiesOnly=yes:

Host * 
       	IdentitiesOnly=yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment