Hi - thanks for writing this! This got me 90% there. I'm trying to deploy a private repo and I get the following error:
err: fatal: could not read Username for 'github.com': No such device or address
I'm able to log into the server and all, but this error prevents git pull from working.
I added my SSH key to my GitHub account, but that doesn't solve the problem.
Let me know if you have a solution for this.
I think that you are using https remote urls instead of SSH urls. Check those and replace it with SSH remote urls.
git remote -v
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi - thanks for writing this! This got me 90% there. I'm trying to deploy a private repo and I get the following error:
err: fatal: could not read Username for 'github.com': No such device or address
I'm able to log into the server and all, but this error prevents git pull from working.
I added my SSH key to my GitHub account, but that doesn't solve the problem.
Let me know if you have a solution for this.
I think that you are using https remote urls instead of SSH urls. Check those and replace it with SSH remote urls.
git remote -v