SSH Config File

noun

say it: “ES-es-ESH KON-fig fyle” /ˌɛsɛsˈeɪtʃ ˈkɑnfɪɡ faɪl/

ssh's settings file in your home folder, where a short name stands for a server, its user name and its key.

What is the SSH config file?

~/.ssh/config is where you give servers short names. Each Host block says which computer the name means, who to log in as and which key to use, so ssh bookclub does the work of a long command. scp and rsync read it too.

Host bookclub
    HostName localhost
    User sam
    IdentityFile ~/.ssh/id_ed25519

In a sentence

  • “Sam added a Host block for the book club's server to her SSH config file.”
  • “Thanks to the SSH config file, ssh bookclub replaced a long command.”

Level: Journeyman · More Unix terms at this level

Updated