Of course now I'm down the rabbit hole.
Yup. A whole Saturday.
I couldn't get the command line to work directly, instead it would always start the distro bash itself, but not run ssh- even though the same wsl command in command prompt did in fact start SSH.
Note: each profile must have a unique GUID, I got mine from a web GUI generator.
Odd. I did it like this... in a profile, the "commandline" string value is like this
(you aren't using bash.exe are you? Use wsl.exe.)
-u name is your username in the wsl distro
-l name is your remote host username
wsl.exe -d Legacy -u mike -e ssh 192.168.0.5 -l mikeyou have to get the wsl -d distro name right, mine is "Legacy", it's WSL Ubuntu from before the distros got in the Windows Store. Find out your name(s) by doing
wsl -l at the cmd prompt. Should work, I think.
My only real complaint about the application itself though is that the tabs are in the titlebar. I've always disliked that trend (Thanks Google Chrome...) In this case, It means moving the window requires using the area right next to the caption buttons.
In the settings JSON, in the Global section, change the Boolean value
showTabsInTitlebar to
falseHope this helps.