different ssh settings for different users(solved)
William Hooper
whooperhsd3 at earthlink.net
Mon Jun 5 00:26:01 UTC 2006
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
More information about the fedora-list
mailing list