LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-06-2013, 02:28 PM   #1
maver92
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 07-06-2013, 03:07 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
as long as you specify the right config file for each instance you start, there should be no problem.
 
Old 07-07-2013, 10:47 AM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 2,039

Rep: Reputation: 520Reputation: 520Reputation: 520Reputation: 520Reputation: 520Reputation: 520
Quote:
Originally Posted by maver92 View Post
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.
 
Old 07-08-2013, 09:34 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,174
Blog Entries: 4

Rep: Reputation: 428Reputation: 428Reputation: 428Reputation: 428Reputation: 428
Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 07-09-2013, 06:37 AM   #5
maver92
LQ Newbie
 
Registered: Jul 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Solved, thanks

It is working indeed Thanks a lot!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
APT-GET How do i get multiple versions installed of same program LexMillian Linux - Software 2 01-20-2010 09:16 AM
Starting sshd: /etc/init.d/sshd: line 113: /usr/sbin/sshd: Permission denied sumanc Linux - Server 5 03-28-2008 04:59 AM
Multiple versions of packages installed bakwas_internet Fedora 7 06-01-2007 01:04 PM
Locking up: could multiple installed versions of same package be culprit? registering Linux - Software 2 01-17-2007 10:18 AM
Multiple RPM versions installed Tomasfuego Linux - Software 0 05-15-2003 02:28 PM


All times are GMT -5. The time now is 12:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration