Skip to content

Instantly share code, notes, and snippets.

@Eboubaker
Last active March 10, 2022 19:48
Show Gist options
  • Select an option

  • Save Eboubaker/76755699301c9ce34d1cd38c3718e30d to your computer and use it in GitHub Desktop.

Select an option

Save Eboubaker/76755699301c9ce34d1cd38c3718e30d to your computer and use it in GitHub Desktop.
@echo off
wt wsl -e ssh eboubaker@eboubaker.xyz
@Eboubaker

Eboubaker commented Mar 10, 2022 •

Copy link
Copy Markdown
Author

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