LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-06-2008, 10:39 AM   #1
mokku
Member
 
Registered: Feb 2007
Posts: 197

Rep: Reputation: 30
ssh2_config vs sshd2_config


Hi,

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

Thanks
 
Old 05-06-2008, 10:46 AM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
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/
 
Old 05-06-2008, 01:43 PM   #3
mokku
Member
 
Registered: Feb 2007
Posts: 197

Original Poster
Rep: Reputation: 30
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?
 
Old 05-06-2008, 04:03 PM   #4
heriL
LQ Newbie
 
Registered: Sep 2006
Location: Munich, Germany
Distribution: SUSE 10.2
Posts: 5

Rep: Reputation: 0
perfectly right ;-)
 
Old 05-06-2008, 08:24 PM   #5
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off




All times are GMT -5. The time now is 10:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration