improved remote devel terminal. skip mosh for wireguard.

This commit is contained in:
Daniel Lundin 2020-09-15 20:36:25 +02:00
parent ccdef56669
commit 73e765c92c
No known key found for this signature in database
GPG key ID: 6AB527C9196ACDCC
4 changed files with 20 additions and 22 deletions

View 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

View file

@ -1,12 +1,10 @@
[Desktop Entry]
Type=Application
TryExec=alacritty
Icon=Alacritty
Terminal=false
Categories=System;TerminalEmulator;
Name=tmux local
GenericName=tmux-local
Type=Application
TryExec=kitty
Icon=kitty
Terminal=false
Categories=System;TerminalEmulator;
StartupWMClass=tmux-local
Exec=alacritty --class tmux-local -e tmux new-session -A -D -s 0
Exec=kitty --class tmux-local -e tmux new-session -A -D -s 0

View file

@ -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

View file

@ -6,10 +6,12 @@ Host home
Hostname 10.1.100.16
ForwardAgent no
Host home-dev
Host devel
Hostname 10.1.100.16
IdentityAgent ~/.ssh/ssh_auth_sock
ForwardAgent yes
ExitOnForwardFailure yes
RequestTty yes
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: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
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
RemoteCommand /usr/bin/env LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/bin/tmux new-session -A -D -s 0