ivan dimitrov wrote:
hello list,

How to start two sshd with different configs from the rc.conf?

Do i have to write a secondary /etc/rc.d/sshd,
for eg. /etc/rc.d/sshd2 and put sshd2_enable="yes" in the rc.conf
or there is another way to do this?
Or you could write a script /usr/local/etc/sshd-mine
thats starts both, or add /usr/local/etc/sshd2 that just starts the second one.

-f configuration_file
 Specifies the name of the configuration file.  The default is
 /etc/ssh/sshd_config.  sshd refuses to start if there is no con-
 figuration file.

Its generally good to not muck with things in /etc/rc.d unless you really have too,

Philip M. Gollucci ([EMAIL PROTECTED])
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to