[olug] ssh ServerAliveInterval
Christopher Cashell
topher-olug at zyp.org
Thu Feb 24 04:54:02 UTC 2011
On Wed, Feb 23, 2011 at 5:47 PM, Jay Hannah <jhannah at mutationgrid.com> wrote:
> Oh, well that's damn handy...
>
> ~/.ssh$ cat config
> ServerAliveInterval 5
>
> No more idle disconnects for me! :)
There's a handful of handy config options you can tweak the defaults on:
topher at nexus:~$ cat ~/.ssh/config
Host crucible.lab13.org
User cpc
Host *.lab13.org *.zyp.org
User topher
ForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes
Host *
TCPKeepAlive yes
ServerAliveInterval 20
ServerAliveCountMax 6
ForwardAgent no
ForwardX11 no
ForwardX11Trusted no
NumberOfPasswordPrompts 5
Compression yes
CompressionLevel 6
ControlPath ~/.ssh/master-%l-%r@%h:%p
ControlMaster auto
# The following should be changed to "Protocol 2" as soon as the last device
# on the network that only supports SSHv1 goes away.
Protocol 2,1
Cipher blowfish
Ciphers aes128-cbc,blowfish-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-cbc,cast128-cbc,arcfour128,arcfour256,arcfour
PreferredAuthentications publickey,password
> Jay Hannah
--
Christopher
More information about the OLUG
mailing list