<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
No, but I have to admit that I never change it for long.  I block all in bound port 22 and 23 connections with my front-door router.  So occasionally, when I want to let someone in - I change the server's SSH deamon to a different port, let them in, and change it back.  It probably wasn't changed long enought for the watchdog cced.init to change it back.
<br />
<br />Tell you what - after you modify the file, use this from the command line while in the /etc/ssh directory "chattr +i sshd_config".  That absolutely locks the file.  The technical term is 'setting the immutable bit'.  Now, not even root can't change the file.  verify the bit is set with command "lsattr" while in that directory.  You'll see the extended attributes listed - and your sshd_config file should have a lowercase "i" in front of it.  To turn it off and make the file changeable again - use "chattr -i sshd_config".
<br />
<br />So, set your file with the port you want to use and then lock the file.  That's how I keep the watchdog from changing my custom IPTables configuration!  Works every time!
<br />
<br />
<br />
<br />Chuck
<br />
<br /><font size="2">
<br />
<br /><b>---------- Original Message 
-----------</b>
<br />
From: Hideki Oride <hideki.oride@gmail.com> 

<br />
To: BlueOnyx General Mailing List <blueonyx@blueonyx.it> 

<br />
Sent: Sat, 18 Jul 2009 16:00:31 +0900 

<br />
Subject: [BlueOnyx:01765] Re: The setting returns to an initial value when the 
server is rebooted. 

<br />

<br />> Thanx, Chuck. 
<br />> 
<br />> 

It knows this method. 
<br />> 
<br />> 

I want to say.. 
<br />> 

The setting returns to an initial value when I restarted this server. 
<br />> 

<br />> 

Are you not happening on your server? 
<br />> 
<br />> 

2009/7/18 Chuck Tetlow <chuck@tetlow.net>: 
<br />> 

> Hideki, 
<br />> 


<br />> 

> At the command-line, go to the /etc/ssh/ directory.  Use your favorite 

<br />> 

> editor to edit the sshd_config file.  A line right near the top reads 
"Port 
<br />> 

> 22".  Change that to the port you want to use.  Then restart the SSH 
server 
<br />> 

> with "service sshd restart".  That should cure it for you - your 
SSH server 
<br />> 

> will run on the new port. 
<br />> 


<br />> 


<br />> 


<br />> 

> Chuck 
<br />> 


<br />> 


<br />> 


<br />> 


<br />> 

> ---------- Original Message ----------- 
<br />> 

> From: Hideki Oride <hideki.oride@gmail.com> 
<br />> 

> To: blueonyx@blueonyx.it 
<br />> 

> Sent: Sat, 18 Jul 2009 13:03:40 +0900 
<br />> 

> Subject: [BlueOnyx:01763] The setting returns to an initial value when the 

<br />> 

> server is rebooted. 
<br />> 


<br />> 

>> HI, Blues. 
<br />> 

>> 
<br />> 

>> Are you using the port number of SSH ? 
<br />> 

>> I want to use number of "909" on SSH. 
<br />> 

>> So I am setting this number on "Network Service" - 
"Shell". 
<br />> 

>> 
<br />> 

>> But, when I reboot a Server, Port number is back on "22". 

<br />> 

>> In addition, It is backing a "Personal Profile" - 
"Account" - 
<br />> 

>> "Language Preference", too 
<br />> 

>> 
<br />> 

>> How in everyone's BO? 
<br />> 

>> 
<br />> 

>> I think, the cause of this problem is "constructer". 
<br />> 

>> I think that custructer rewrites the Config file. 
<br />> 

>> _______________________________________________ 
<br />> 

>> Blueonyx mailing list 
<br />> 

>> Blueonyx@blueonyx.it 
<br />> 

>> <a target="_blank" href="http://www.blueonyx.it/mailman/listinfo/blueonyx">http://www.blueonyx.it/mailman/listinfo/blueonyx</a> 
<br />> 

> ------- End of Original Message ------- 
<br />> 


<br />> 

> _______________________________________________ 
<br />> 

> Blueonyx mailing list 
<br />> 

> Blueonyx@blueonyx.it 
<br />> 

> <a target="_blank" href="http://www.blueonyx.it/mailman/listinfo/blueonyx">http://www.blueonyx.it/mailman/listinfo/blueonyx</a> 
<br />> 


<br />> 


<br />> 
<br />> 

_______________________________________________ 
<br />> 

Blueonyx mailing list 
<br />> 

Blueonyx@blueonyx.it 
<br />> 

<a target="_blank" href="http://www.blueonyx.it/mailman/listinfo/blueonyx">http://www.blueonyx.it/mailman/listinfo/blueonyx</a> 

<br /><b>------- End of Original Message 
-------</b>
<br />

</font>
</BODY>
</HTML>