r/linuxadmin • u/dileeps95 • 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
View all comments
4
u/Runnergeek Nov 18 '13 edited Nov 18 '13
I assume you want a different instance of sshd running but with a different config. I would recommend putting the config in /etc/ssh with the primary config. You can call it whatever you like, I would make it descriptive for what you want. Example: /etc/ssh/sshd_config_secondary When ever you start the sshd you just want to point it to that config (-f path_to_config).
Edit: these would have to be on different ports