Showing posts with label rsa. Show all posts
Showing posts with label rsa. Show all posts

Thursday, January 28, 2021

git with ssh key

 git with ssh key can only run with git URL, not http

One way is to set the URL to git

https://docs.github.com/en/github/using-git/changing-a-remotes-url 

$ git remote set-url origin https://github.com/USERNAME/REPOSITORY.git

Saturday, January 19, 2019

RSA key problem to github


I tried ssh -vT git@github.com and found out that it look for default key files. So, I renamed my RSA key files to the default name, and this solved the 'publickey declined' problem.

Friday, January 18, 2019



https://help.github.com/articles/error-permission-denied-publickey/

Apparently, the rsa key on my laptop was broken, not the public key on my workstation. This seems to explains why I cannot connect to github using ssh.

Trouble is: The public key and finger print are the same on my laptop and github profile.???