diff options
author | katherine <ageha@airen-no-jikken.icu> | 2023-11-01 21:40:56 -0700 |
---|---|---|
committer | katherine <ageha@airen-no-jikken.icu> | 2023-11-01 21:40:56 -0700 |
commit | e5c18e527168930e9dec8aa32f1d72b523679daa (patch) | |
tree | 82873817de580470fdc87b55d135726023784045 /.zshrc-linux-desktop | |
parent | 672c1262b382bb6afb4b4e9b7edc7c35a4afa58e (diff) | |
download | dotfiles-e5c18e527168930e9dec8aa32f1d72b523679daa.tar.gz |
keepalive for ssh commands
Diffstat (limited to '.zshrc-linux-desktop')
-rw-r--r-- | .zshrc-linux-desktop | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.zshrc-linux-desktop b/.zshrc-linux-desktop index 5b1e593..58448fe 100644 --- a/.zshrc-linux-desktop +++ b/.zshrc-linux-desktop @@ -1,11 +1,11 @@ ################### ALIASES ################## -alias smutt='ssh -t shmibs@airen-no-jikken.icu mutt' -alias ssmutt='ssh -t shmibs@airen-no-jikken.icu mutt -f sent' -alias kmutt='ssh -t k@airen-no-jikken.icu mutt' -alias ksmutt='ssh -t k@airen-no-jikken.icu mutt -f sent' -alias amutt='ssh -t ageha@airen-no-jikken.icu mutt' -alias asmutt='ssh -t ageha@airen-no-jikken.icu mutt -f sent' +alias smutt='ssh -o ServerAliveInterval=5 -t shmibs@airen-no-jikken.icu mutt' +alias ssmutt='ssh -o ServerAliveInterval=5 -t shmibs@airen-no-jikken.icu mutt -f sent' +alias kmutt='ssh -o ServerAliveInterval=5 -t k@airen-no-jikken.icu mutt' +alias ksmutt='ssh -o ServerAliveInterval=5 -t k@airen-no-jikken.icu mutt -f sent' +alias amutt='ssh -o ServerAliveInterval=5 -t ageha@airen-no-jikken.icu mutt' +alias asmutt='ssh -o ServerAliveInterval=5 -t ageha@airen-no-jikken.icu mutt -f sent' if [[ $(whence sshfs) != "" ]] then alias smount='mkdir -p ~/mount-shmibs && sshfs shmibs@airen-no-jikken.icu: ~/mount-shmibs || rmdir ~/mount-shmibs' |