SSH – Load key “/Users/username/.ssh/id_rsa.pub”: invalid format

Suddenly the git push via SSH failed, and the remote server returned something like invalid format for the public key id_rsa.pub? Terminal git push Load key "/Users/username/.ssh/id_rsa.pub": invalid format [email protected]: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Last week, …

Read more

GitHub keep asking for username password when git push

git clone one of my existing repo (with SSH key added in the Github), modified some files and tried to git push, and it keeps asking for username and password for git push operation? Terminal git push Username for ‘https://github.com’: Password for ‘https://github.com’: GitHub authentication is successful. Terminal ssh -T [email protected] Hi mkyong! You’ve successfully …

Read more