LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 12-26-2009, 11:28 AM   #1
donnied
Member
 
Registered: Oct 2006
Distribution: Debian x64
Posts: 198

Rep: Reputation: 30
How to recompile openssh-server with different version


I would like to recompile the openssh-server with a different version string. I download and compile the source, but so far I have only been able to compile and run the client. Not the server.
Steps taken:
apt-get source openssh-server
pico version.h #change version strings
.configure
make
checkinstall -D make install

Is there a flag or option I need to specify to insure that it creates the sshd?
 
Old 12-26-2009, 01:51 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
Assume openssh_5.1p1.orig.tar.gz

The file INSTALL, line 111 : /usr/local/sbin/sshd

( "prefix"/sbin/ )

.. Or may be checkinstall forgot the file ( it can happen )
.. then just do # make install

Possible source for more information : the file rules in
openssh_5.1p1-8.diff.gz .. when you apply the patch :
openssh-5.1p1/debian/rules
http://ftp.de.debian.org/debian/pool....1p1-5.diff.gz
http://packages.debian.org/lenny/openssh-server
.....
 
1 members found this post helpful.
  


Reply

Tags
recompile, string, version


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
flaw in version 4.7 of OpenSSH on Debian/GNU Linux farslayer Debian 1 05-22-2009 04:08 PM
OpenSSH version mismatch (current) dunric Slackware 3 02-25-2006 11:50 PM
Kernel version Source Version mismatch after recompile chuckleberry Linux - Software 1 06-20-2005 06:37 PM
how to hide OpenSSH version ? crud Slackware 8 06-16-2005 12:54 PM
Upgrading from an older version of openssh afruto Linux - Security 4 10-01-2004 11:27 AM


All times are GMT -5. The time now is 01:12 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