Codespace as SSH Proxy
How to connect to a SSH Server using a Github Codespace as a Proxy (JumpHost)
In Codespace
Creating new sudo user
Find these lines and add permissions for new user:
save ctrl+x ; y ; enter
Editing ssh config
replace port by any port you want for example 8282
Local Computer
Connection test
SSH Config
After that, host will appear in vscode remote tab. F1>ssh config (open config file)
Now you can directly connect through remote connection menu in vscode, thanks to this you can benefit of all vscode feature set, extensions on your server without connecting directly to it.
Last updated