Re: different ssh settings for different users(solved)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ankush Grover wrote:
>> Can you start the 3 instances yourself using the command
>> line instead of the init script?  If so, your script changes aren't doing
>> what you expect to use the right config files.
>>
>
> yes I can start the 3 instances from the command line but not from the
> init script even though I have mentioned in the init script which config
> file to use for example for sshd1
>
> KEYGEN=/usr/bin/ssh-keygen
> SSHD=/usr/sbin/sshd1
> RSA1_KEY=/etc/ssh/ssh_host_key
> RSA_KEY=/etc/ssh/ssh_host_rsa_key
> DSA_KEY=/etc/ssh/ssh_host_dsa_key
> PID_FILE=/var/run/sshd1.pid     ---> pid
> CONFIG_FILE=/etc/ssh/sshd_config1   ---> config file

I see no "CONFIG_FILE" entry in the default init script.  Have you tried
specifying the "-f" option on the line that starts the program?

-- 
William Hooper


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux