Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save reikjarloekl/2e3c4d25b533fd75f34a4dc642c8fa39 to your computer and use it in GitHub Desktop.
Save reikjarloekl/2e3c4d25b533fd75f34a4dc642c8fa39 to your computer and use it in GitHub Desktop.
Setting for Windows Terminal to open ssh connection and (re-)connect to screen session
{
"guid": "{b2ea4eb4-ab63-4710-a082-7263af541f2a}",
"hidden": false,
"name": "SSH: Machine Name",
"commandline": "powershell.exe -command \"ssh.exe -t some.host.name 'screen -S myscreen -rd || screen -S myscreen bash -l'\"",
"hidden": false,
"suppressApplicationTitle": true
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment