sshd_config is the configuration file for the OpenSSH server. ssh_config is the configuration file for the OpenSSH client.
What is sshd_config?
The /etc/ssh/sshd_config file is the system-wide configuration file for OpenSSH which allows you to set options that modify the operation of the daemon. This file contains keyword-value pairs, one per line, with keywords being case insensitive.
What is sshd_config vs ssh_config?
1 Answer. The sshd_config is the ssh daemon (or ssh server process) configuration file. As you’ve already stated, this is the file you’ll need to modify to change the server port. Whereas, the ssh_config file is the ssh client configuration file.