How to increase the default time out when trying to connect to a remote machine via SSH on Mac OS X?
ssh -D 9999 user@host
You need to change the
For example, create
This will apply to all connections. For a single connection, just use the
Specify the option "ConnectTimeout" for connection timeout, eg
Or in ~/.ssh/config add