You're viewing a single thread.
View all comments
154
comments
Uh how do i get GH cli to work on Linux? I tried pushing a project and it just asks for a password, and PW support is deprecated
3 0 ReplyConnect an SSH key and use that.
4 0 ReplyNo luck, i tried that and https login and it still asks for a PW when I push
1 0 ReplyHTTPS
git remote add origin https://github.com/user/repo.git
SSH
git remote add origin git@github.com:user/repo.git
Did you use the correct syntax for SSH?
8 0 Reply
I'm not sure about the exact commands, but you do something like
gh auth login
to authenticate the CLI and then something likegh ssh setup
to change ssh's config file to authorize using the GH CLI.2 0 ReplyI'll try that, thanks
2 0 Reply
Use ssh authentication instead
1 0 Replykey identification
1 0 Reply
You've viewed 154 comments.
Scroll to top