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.
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/config
Host serverWith
HostName server.home.net
OptionBLA yes
Host serverWithout
HostName server.home.net
OptionBLA no
It also has autocomplete, so you can type ssh server<TAB>ssh -o "KeepAlive no" example.com
Host *.whatever.com
ServerAliveInterval 900
Host *.whatsup.com
ServerAliveInterval 60PuTTY can do that. It's GUI though.
ssh server remotecommand | localcommand
* set up a machine with all packages installed on some (debian/ubuntu) server: ssh server dpkg --get-selections| cut -f1 | xargs sudo apt-get install
* compare output of commands on two machines diff <(command) <(ssh server command)
* test/configure software on a local machine, plugging in its input from the roduction machine where it will be installed once ready
* avoid installing software on the server entirely; pull in the remote output and wrangle it locally (obv. not so good for high volumes)
* think a bug can be fixed by upgrading some software? try it on a test machine, pipe in the required input, and see