The Remote - SSH extension is very useful for allowing you and edit files remotely.
One awesome feature is allowing you connect to a remote host from the terminal.
code --folder-uri vscode-remote://ssh-remote+<FQDN><RemoteDirectory>
This allows you to create a simple alias to launch VSCode to connect directly to that host.
alias devhost="code --folder-uri vscode-remote://ssh-remote+my.example.com/home/example"
One drawback is you can't currently use hosts from your .
.ssh/config as of now but I've raised a ~~ feature request ~~for that
Update: you can use aliases from your
.ssh/config, either it was bugged or fixed 😅.