LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   multiple sshd versions installed (https://www.linuxquestions.org/questions/linux-general-1/multiple-sshd-versions-installed-4175468706/)

maver92 07-06-2013 02:28 PM

multiple sshd versions installed
 
I'd like to test different versions of OpenSSH on the same machine Is it possible to force the setup so that different versions of the sshd daemon can coexist? I guess that it should be ok if the pathnames of binaries and config files are different for each version, and the listening ports are also different. Has anybody tried it yet? Thanks.

acid_kewpie 07-06-2013 03:07 PM

as long as you specify the right config file for each instance you start, there should be no problem.

jpollard 07-07-2013 10:47 AM

Quote:

Originally Posted by maver92 (Post 4985313)
I'd like to test different versions of OpenSSH on the same machine Is it possible to force the setup so that different versions of the sshd daemon can coexist? I guess that it should be ok if the pathnames of binaries and config files are different for each version, and the listening ports are also different. Has anybody tried it yet? Thanks.

The simplest way is to put each sshd version in its own directory tree, and make sure the daemon startup specifies the correct path to the configurations (the -c, -f -h options, and/or get the paths right in the sshd_conf file). By default sshd will use /etc/ssh for all configuration files, so you have to specify all of them to get it working.

XavierP 07-08-2013 09:34 AM

Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.

maver92 07-09-2013 06:37 AM

Solved, thanks
 
It is working indeed Thanks a lot!


All times are GMT -5. The time now is 06:45 AM.