The file
/etc/ssh/ssh_config
is the main configuration file of the OpenSSH server daemon (sshd).
Purpose It defines the system-wide settings for the SSH client. It can be overridden by storing settings in ~/.ssh/config that takes precedence.
Configuration To learn more about the available configuration settings, have a look at the section OpenSSH client configuration .
Related articles Like to learn more? Here is a list of articles within the same category or having similar tags.
SSH security Want to secure your SSH configuration even further? Perform a system audit with Lynis, including a configuration test of SSH.
Lynis is a battle-tested technical security audit tool. It is open source, freely available, and used by system administrators all over the world. Other users include IT auditors, security professionals, like pentesters.
Lynis is not just for Linux security, but also supports BSD, macOS, busybox, and other Unix-based systems or environments.
Tool Information Cost: Free License: GPLv3 Links Visit project page Feedback This article has been written by our Linux security expert Michael Boelen. With focus on creating high-quality articles and relevant examples, he wants to improve the field of Linux security. No more web full of copy-pasted blog posts.
Discovered outdated information or have a question? Share your thoughts . Thanks for your contribution!