Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I followed the following steps in order to get a second instance of sshd running on my server: http://fixunix.com/ssh/364505-running-multiple-sshd-instances-one-server.html

The only problem is, I'm not sure where exactly I need to modify to get my new instance of sshd to read from /etc/ssh/newsshd_config. It continues to read from /etc/ssh/sshd_config which is obviously not my intention. my intention is to run with a brand new set of configs.

this is on a rhel box.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Make a copy of your sshd init script and append the -f option to specify the new sshd_config.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.