use autossh to dev vm

This commit is contained in:
Daniel Lundin 2021-07-22 10:32:06 +02:00
parent f7942138eb
commit 5f5e10b73d

View file

@ -7,6 +7,5 @@ TryExec=/usr/bin/wezterm
Icon=org.wezfurlong.wezterm
Terminal=false
Categories=System;TerminalEmulator;
# Exec=/usr/bin/wezterm connect dln-dev
# Exec=/usr/bin/wezterm --config 'default_prog={"autossh", "-M0", "-q", "dln-dev"}' start --class=wezterm-dln-dev
Exec=/usr/bin/wezterm --config 'default_prog={"ssh", "dln-dev", "tmux", "-u", "new", "-As0"}' start --class=wezterm-dln-dev
#Exec=/usr/bin/wezterm --config 'default_prog={"ssh", "dln-dev", "tmux", "-u", "new", "-As0"}' start --class=wezterm-dln-dev
Exec=/usr/bin/wezterm --config 'default_prog={"autossh", "-M0", "-q", "dln-dev", "--", "tmux", "-u", "new", "-As0"}' start --class=wezterm-dln-dev