Reputation: 33
For running high performance scripts i have to use a ssh-server.
For transfering the files i have made a github repository. However when pulling from the ssh server it still asks for username and password. These it says are invalid, propably because i have 2-factor validation.
I have tried to generate a ssh key on the server, and added it to github. It however still asks for the username and password.
The reason seems to be that it looks in the openssh folder instead of the folder with the generated keygens. This folder contains files:
So my question is:
Upvotes: 1
Views: 77
Reputation: 1329082
These it says are invalid, propably because i have 2-factor validation.
That kind of warning is generally seen for HTTPS URLs, not SSH.
So check first, as commented, your git remote -v
before doing your git pull
.
If it starts with https://
, try first:
git remote set-url origin [email protected]:<me>/<myrepo>
Upvotes: 1