Skip to content

Instantly share code, notes, and snippets.

View ziritrion's full-sized avatar

Alvaro Navas ziritrion

View GitHub Profile
@ziritrion
ziritrion / readme.md
Created July 10, 2024 14:12 — forked from erikvullings/readme.md
Add SSH site to Windows Terminal

Source.

You can use a commandline field in your profile configuration to initiate an SSH connection on tab creation.

Step-by-step guide:

  1. Open Settings (Ctrl+,)
  2. Find the "list" array in the "profiles" object
  3. Duplicate a Command Prompt profile ("commandline": "cmd.exe")
  4. Change the commandline value to: ssh me@my-server -p 22 -i ~/.ssh/id_rsa (use your own connection command).