1831664 Members
2102 Online
110029 Solutions
New Discussion

ssh init

 
rottereau
Advisor

ssh init

i am using openssh 4.2 and i have a problem whith the init script :/sbin/init.d/sshd which is a link to each memberr of the cluster. when a member boots, it seems to read /usr/ssh/bin/ssh-validate-conf even if in the init script (sshd script) i dont use this file to start ssh. What is the argument passed to sshd at init boot procedure? is it sshd start as it says in /sbin/rc3 ($f start for each file in /sbin/rc3.d). I dont understand that it continues to read the validate-conf file.
Manuel R.
2 REPLIES 2
Ivan Ferreira
Honored Contributor

Re: ssh init

What is the argument? The argument to the init script is just start. The arguments for the sshd daemon you should check the init script start section, /sbin/init.d/sshd. And yes, if you have a link like /sbin/rc3.d/SXXsshd it will start at boot time.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
rottereau
Advisor

Re: ssh init

yes i agree, it starts at boot time but the problem is this script read a file (validate.conf) even if in the function Start(){} (this is a shell fonction in S*sshd script), i uncomment the call of validate.conf.

And the real problem is because of this call of validate.conf my sshd_config is rewrite each time by the script procedure of validate.conf
Manuel R.