SSH config file

The client configuration file, ~/.ssh/config, where Host blocks give short aliases their real hostname, user, port and identity file.

In more detail

With a Host prod block, ssh prod expands to the full connection details. Aliases reduce typing but do not bypass host key checks or server authorization. ssh -G prod prints the expanded settings when a connection reaches the wrong account or port.

Related terms

Taught in

References