improved remote devel terminal. skip mosh for wireguard.
This commit is contained in:
parent
ccdef56669
commit
73e765c92c
4 changed files with 20 additions and 22 deletions
10
.local/share/applications/tmux-devel.desktop
Normal file
10
.local/share/applications/tmux-devel.desktop
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=tmux devel
|
||||||
|
GenericName=tmux-devel
|
||||||
|
StartupWMClass=tmux-devel
|
||||||
|
Type=Application
|
||||||
|
TryExec=kitty
|
||||||
|
Icon=kitty
|
||||||
|
Terminal=false
|
||||||
|
Categories=System;TerminalEmulator;
|
||||||
|
Exec=kitty --class=tmux-devel autossh -M21001 devel
|
|
@ -1,12 +1,10 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Type=Application
|
|
||||||
TryExec=alacritty
|
|
||||||
Icon=Alacritty
|
|
||||||
Terminal=false
|
|
||||||
Categories=System;TerminalEmulator;
|
|
||||||
|
|
||||||
Name=tmux local
|
Name=tmux local
|
||||||
GenericName=tmux-local
|
GenericName=tmux-local
|
||||||
|
Type=Application
|
||||||
|
TryExec=kitty
|
||||||
|
Icon=kitty
|
||||||
|
Terminal=false
|
||||||
|
Categories=System;TerminalEmulator;
|
||||||
StartupWMClass=tmux-local
|
StartupWMClass=tmux-local
|
||||||
|
Exec=kitty --class tmux-local -e tmux new-session -A -D -s 0
|
||||||
Exec=alacritty --class tmux-local -e tmux new-session -A -D -s 0
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
TryExec=/home/dln/bin/term-porky
|
|
||||||
Icon=Alacritty
|
|
||||||
Terminal=false
|
|
||||||
Categories=System;TerminalEmulator;
|
|
||||||
|
|
||||||
Name=tmux porky
|
|
||||||
GenericName=tmux-porky
|
|
||||||
StartupWMClass=tmux-porky
|
|
||||||
|
|
||||||
Exec=/home/dln/bin/term-porky
|
|
|
@ -6,10 +6,12 @@ Host home
|
||||||
Hostname 10.1.100.16
|
Hostname 10.1.100.16
|
||||||
ForwardAgent no
|
ForwardAgent no
|
||||||
|
|
||||||
Host home-dev
|
Host devel
|
||||||
Hostname 10.1.100.16
|
Hostname 10.1.100.16
|
||||||
|
IdentityAgent ~/.ssh/ssh_auth_sock
|
||||||
ForwardAgent yes
|
ForwardAgent yes
|
||||||
ExitOnForwardFailure yes
|
ExitOnForwardFailure yes
|
||||||
|
RequestTty yes
|
||||||
LocalForward 127.0.0.1:3000 127.0.0.1:3000
|
LocalForward 127.0.0.1:3000 127.0.0.1:3000
|
||||||
LocalForward 127.0.0.1:8000 127.0.0.1:8000
|
LocalForward 127.0.0.1:8000 127.0.0.1:8000
|
||||||
LocalForward 127.0.0.1:8080 127.0.0.1:8080
|
LocalForward 127.0.0.1:8080 127.0.0.1:8080
|
||||||
|
@ -18,4 +20,4 @@ LocalForward 127.0.0.1:15000 127.0.0.1:15000
|
||||||
LocalForward 127.0.0.1:9876 127.0.0.1:9876
|
LocalForward 127.0.0.1:9876 127.0.0.1:9876
|
||||||
RemoteForward /run/user/1000/gnupg/S.gpg-agent /run/user/1000/gnupg/S.gpg-agent.extra
|
RemoteForward /run/user/1000/gnupg/S.gpg-agent /run/user/1000/gnupg/S.gpg-agent.extra
|
||||||
RemoteForward /run/user/1000/gnupg/S.gpg-agent.ssh /run/user/1000/gnupg/S.gpg-agent.ssh
|
RemoteForward /run/user/1000/gnupg/S.gpg-agent.ssh /run/user/1000/gnupg/S.gpg-agent.ssh
|
||||||
|
RemoteCommand /usr/bin/env LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/bin/tmux new-session -A -D -s 0
|
||||||
|
|
Loading…
Reference in a new issue