LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
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: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:05 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration