Originally Posted by maver92
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.