dacaprice.com from fitness to technology.

14Sep/091

The ssh_config file.

Working in an environment with hundreds of SSH servers, one appreciates the value a good ssh_config file.  I use an ssh_config file to specify specific usernames for certain hosts, as well as specifying a keepalive interval, to prevent my session from timing out.

I use the following options:

Host hostname

HostName hostname (can be an IP)

User username

ServerAliveInterval 60 (sends keepalive every 60 seconds)

For further info check out the good old man ssh_config.

Tagged as: Leave a comment
Comments (1) Trackbacks (0)
  1. Nice, tip. Check out “rancid” if you don’t already know about it. You’ll like it.


Leave a comment


No trackbacks yet.