Date: 2026-05-03
Existing public key:
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILJXIyJavylDQD+3evbdkLRZBBPkwZJauH2Wm2ZnSHOm xuzhenhua@n30099
Key file:
~/.ssh/id_ed25519.pub
This key was added to GitHub under SSH keys.
The shell has these proxy variables:
http_proxy=http://127.0.0.1:17890
https_proxy=http://127.0.0.1:17890
SSH does not automatically use http_proxy, so GitHub SSH was configured with an SSH ProxyCommand.
File:
~/.ssh/config
Configured content:
Host github.com
HostName ssh.github.com
User git
Port 443
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
ProxyCommand nc -X connect -x 127.0.0.1:17890 %h %pNotes:
ssh.github.com:443is GitHub's SSH-over-HTTPS endpoint.nc -X connect -x 127.0.0.1:17890 %h %psends SSH traffic through the local HTTP proxy.IdentitiesOnly yesensures SSH uses~/.ssh/id_ed25519for GitHub.
Command:
ssh -o BatchMode=yes -o StrictHostKeyChecking=accept-new -T github.comSuccessful result:
Hi huazhx! You've successfully authenticated, but GitHub does not provide shell access.
After this, normal GitHub SSH URLs should work:
git clone git@github.com:OWNER/REPO.git