SSH Multiplexing & other OpenSSH Tricks
symkat.com
SSH Multiplexing & other OpenSSH Tricks
1–10 of 24 posts
Re: SSH Multiplexing & other OpenSSH Tricks
#2That TTL thing is handy too, I'm sure I had some understanding of it previously, but reading the article made me check my settings and made me realize my timeouts were ridiculously low so even short disconnections killed my session.
Re: SSH Multiplexing & other OpenSSH Tricks
#3I suppose I should just write a script that perl -pi -e 's/KeepAlive yes/KeepAlive no/' .ssh/config or similar, but it still seems ... annoying.
Re: SSH Multiplexing & other OpenSSH Tricks
#4Re: SSH Multiplexing & other OpenSSH Tricks
#5I do wish keepalive could be turned on/off more dynamically - most of the locations I connect from it's a disadvantage so I don't have it configured, and having to edit the config file when I'm in one where it's useful just annoys me. I suppose I should just write a script that perl -pi -e 's/KeepAlive yes/KeepAlive no/' .ssh/config or similar, but it still seems ... annoying.
ssh -o "KeepAlive no" example.com
Re: SSH Multiplexing & other OpenSSH Tricks
#6I do wish keepalive could be turned on/off more dynamically - most of the locations I connect from it's a disadvantage so I don't have it configured, and having to edit the config file when I'm in one where it's useful just annoys me. I suppose I should just write a script that perl -pi -e 's/KeepAlive yes/KeepAlive no/' .ssh/config or similar, but it still seems ... annoying.
Host *.whatever.com
ServerAliveInterval 900
Host *.whatsup.com
ServerAliveInterval 60Re: SSH Multiplexing & other OpenSSH Tricks
#7Re: SSH Multiplexing & other OpenSSH Tricks
#8Re: SSH Multiplexing & other OpenSSH Tricks
#9I do wish keepalive could be turned on/off more dynamically - most of the locations I connect from it's a disadvantage so I don't have it configured, and having to edit the config file when I'm in one where it's useful just annoys me. I suppose I should just write a script that perl -pi -e 's/KeepAlive yes/KeepAlive no/' .ssh/config or similar, but it still seems ... annoying.
PuTTY can do that. It's GUI though.