LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ssh2_config vs sshd2_config (https://www.linuxquestions.org/questions/linux-newbie-8/ssh2_config-vs-sshd2_config-640296/)

mokku 05-06-2008 09:39 AM

ssh2_config vs sshd2_config
 
Hi,

What is the difference between these files? When those execute?

Thanks

camorri 05-06-2008 09:46 AM

ssh_config is the configuration for the client. You use this file from a system when you connect to some other machine using ssh.

sshd_config is the configuration file for the server, the daemon that runs in your system to accept incoming ssh sessions.

The server file is read when the server is started. If you make changes to it, you need to restart the daemon to pick up new changes. Not so sure on the client, I would bet it is read any time you try to connect to a server though.

If you need more information, I would send you here --> http://www.openssh.org/

mokku 05-06-2008 12:43 PM

Thanks a lot. So, if someone is trying to connect to your box, it only check sshd_config and when we try to login from our box, it checks ssh_config? Am I right?

heriL 05-06-2008 03:03 PM

perfectly right ;-)

camorri 05-06-2008 07:24 PM

Quote:

Thanks a lot. So, if someone is trying to connect to your box, it only check sshd_config and when we try to login from our box, it checks ssh_config? Am I right?
You are correct.


All times are GMT -5. The time now is 09:33 AM.