Starting remote connections in Windows Terminal
Now that we have our ~/.ssh/config
file, it's almost trivial to add our remote connections to Windows Terminal. We don't need to care whether we're connecting to Linux or Windows; the command is the same either way.
Open the settings.json
file (Ctrl + Shift + ,) and add the remote connections to the profile.list
array. Each guid
value should be unique, and the command line should point to our hosts that we set up in our ~/.ssh/config
file. Alternatively, if the name
field is unique throughout the file, we can omit the guid
field entirely:
// connect to our router, probably running linux { "guid": "{663bb60f-01bb-48f3-b552-176ff3fdc711}", "name": "Connect to Router", "commandline": "ssh router" }, // connect to our desktop, running Windows { "guid": "...