Github ssh connection issues
See original GitHub issueHey,
I’m not sure if the docs are unclear or something is wrong, but I couldn’t use either limit-access-to-actor
together with limit-access-to-users
or limit-access-to-actor
by itself (introduced in #8).
The ssh command I used was:
ssh -i ~/.ssh/gh_current_key b9mSRLZzh0Br3aVNmSNE:MTAuMjQ0LjAuNzY6MjI=@uptermd.upterm.dev
b9mSRLZzh0Br3aVNmSNE:MTAuMjQ0LjAuNzY6MjI=@uptermd.upterm.dev: Permission denied (publickey).
I also tried stripping the password string, as the connection string
instruction in the docs is a little ambiguous.
ssh -i ~/.ssh/gh_current_key b9mSRLZzh0Br3aVNmSNE@uptermd.upterm.dev
Connection closed by 157.230.199.75 port 22
To sanity check I tried doing an ssh connection test to github, which worked fine:
ssh -T -i ~/.ssh/gh_current_key git@github.com
Warning: remote port forwarding failed for listen port 2222
Hi Folcon! You've successfully authenticated, but GitHub does not provide shell access.
Not sure what the problem is or if this is an upstream issue…
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
Troubleshooting SSH - GitHub Docs
When using SSH to connect and authenticate to GitHub, you may need to troubleshoot unexpected issues that may arise. Using SSH over the...
Read more >Why doesn't my SSH key work for connecting to github?
make a key with ssh-keygen. · open ~/.ssh/id_rsa. · Go to account settings on github.com · Go to SSH Keys · Click on...
Read more >Troubleshoot Git connection through SSH - Checkmarx
Connectivity issues: First, rule out connectivity issues to the Git repository over port 22 (SSH) (or another custom port specified for SSH ...
Read more >Quick GitHub 'Permission denied (publickey)' SSH error fix
GitHub 'Permission denied (publickey)' error · You have used an incorrect email address in the GitHub SSH URL · You have not configured...
Read more >Remote Development Tips and Tricks - Visual Studio Code
Either use an SSH key without a passphrase, clone using HTTPS, or run git push from the command line to work around the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Commenting here since this can help
I was trying this github action & was facing
Connection closed by 157.230.199.75 port 22
when trying to ssh toubuntu-latest
github runner from my local machine . Upon further debugging came to know it was because of ssh-rsa public key being used (reference https://github.com/owenthereal/upterm/issues/93#issuecomment-1045387517)Followed below steps , generating ed25519 key & using it for ssh to uptermd.upterm.dev worked fine for me.
One of the commits removed the instructions for the workarounds: https://github.com/owenthereal/upterm/commit/0f410ca8f3f88119a570adf13dae37d9817ae894