Adding SSH Profiles in Windows Terminal

So lately I’ve been using Windows Terminal and I’m impressed by the amount of customisation offered and how well it integrates with MS DOS 10 😉

Let’s say you want to add a SSH profile, so with a hotkey or mouse click, you can immediately SSH into the machine you want. Follow the steps below and you should be good to go.

In Windows Terminal, open the settings by pressing the drop-down arrow or by pressing Ctrl + , to open the profile. Once open, you want to investigate the list part of the profile and add the necessary changes here.

You can add as many profile blocks in the list section, just make sure the UUID is unique.

For this example, we will add one that will connect to a server located on 192.168.10.2 with the user root. Also, we will add an icon and for this example I will use a Raspberry Pi icon. Simply replace the IP, username and any other parameter that needs to be set (i.e. ports, etc.) and you should be good to go.

{
      "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44aa}",
      "name": "Raspberry Pi",
      "icon": "c:/users/berk/Pictures/Icons/pi.png",
      "commandline": "ssh root@192.168.10.2"
},

Of course, replace the quotes in the commandline section with your desired command and if you don’t need an icon, simply omit that line. Ensure the GUID is included. Simply save the file and it should automatically update Windows Terminal.

Tadaa!

That’s it for now! Next time I’ll show you how you can make the PowerShell prompt beautiful and also add some necessary command line utilities like git and vim.

Leave a comment

Your email address will not be published. Required fields are marked *

Blue Captcha Image
Refresh

*