dotfiles/nix/home-manager/modules/ssh/config
Magic_RB 04f30dad06
Don't send INSIDE_EMACS to everywhere and enable protocol keepalive
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2021-08-19 18:24:39 +02:00

15 lines
337 B
Plaintext

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