Skip to content

Instantly share code, notes, and snippets.

@Eboubaker
Last active March 10, 2022 19:48
Show Gist options
  • Save Eboubaker/76755699301c9ce34d1cd38c3718e30d to your computer and use it in GitHub Desktop.
Save Eboubaker/76755699301c9ce34d1cd38c3718e30d to your computer and use it in GitHub Desktop.
@echo off
wt wsl -e ssh [email protected]
@Eboubaker
Copy link
Author

Eboubaker commented Mar 10, 2022

Reuse ssh connection instead of opening one each time, useful to speed up docker commands on the remote context

HostName eboubaker.xyz
  User eboubaker
  IdentityFile      ~/.ssh/vps
  ControlMaster     auto
  ControlPath       ~/.ssh/control-%C
  ControlPersist    yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment