dotfiles/nix/home-manager/modules/ssh/config
Magic_RB 76513487e9
Streamline SSH emacs forwarding
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2021-08-19 18:24:38 +02:00

14 lines
309 B
Plaintext

Host *
ControlMaster auto
ControlPath ~/.ssh/controlmasters/%r@%h:%p
ControlPersist 300s
SendEnv INSIDE_EMACS
Host 192.168.0.250
Port 2222
Host *redalder.org 192.168.0.250
ExitOnForwardFailure yes
RemoteForward /home/main/.ssh/emacs-server /run/user/1000/emacs/server