Say you have a host configuration as following:
Host work-server-1
Hostname a.b.c.d
ConnectTimeout 5
I have two questions:
- Will SSH apply the
ConnectTimeout 5
configuration setting when you log into the server viassh [email protected]
instead ofpritzel@work-server-1
? - As a related question, assume that there is a DNS entry
secret-server.work.com
which resolves toa.b.c.d
. Will nowConnectTimeout 5
be used when you login withssh [email protected]
? Note thatsecret-server.work.com
is not mentioned in the configuration above.