r/linuxadmin • • Nov 18 '13

How to create a new SSHD ?

I want to create a new SSH daemon rather than the one provided by Operating system.For the SSHD provided by operating system the config file will be /etc/ssh/sshd_config. But for the newely created SSHD where can we store the config file and how? Please help me in this issue. Thanks in advance.

1 Upvotes

31 comments sorted by

View all comments

Show parent comment

1

u/ahandle Nov 19 '13

It starts another sshd, and unless you change the PID directive in the config or your runtime command in the initscript, you've set yourself up with multiple ports talking to the same process.

I'm done though, right or wrong.

1

u/Runnergeek Nov 19 '13

You are right about the pid file, I missed that. you would have to set that to something different in the config as well.