LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-08-2002, 12:12 PM   #1
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
Upgrade sshd


Hello I am building a new linux webserver and am in the proccess of upgrading the packages but ssh has me stumped, I downloaded the source to it untarred it and went into the source directory, I did a
./configure
make
make install

It all worked fine with no errors but the sshd version is still the same as it was, the default that comes with redhat 7.2, but the version for ssh is the new one I am trying to install which is: openssh-3.4p

When I go into the source I downloaded after doing the make install there is a sshd in there that if I type ./sshd -V it shows the correct version for that binary, do I just need to copy that to where the current one is? I have shut down and restarted the machine in case it just hadn't restarted with the new binary yet. I cannot find any documentation on openssh site about this so I was hoping that someone here could help, thank you.
 
Old 10-08-2002, 12:26 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Check your Makefile and see where it installs the binaries. Chances are it's a different path than the RH default. You should be able to pass that info to the .configure script as well. You should also make sure that if you are initiating the service from inetd or xinetd that it points to the proper location as well.
 
Old 10-08-2002, 12:36 PM   #3
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
You don't really need to install it from source ... there are ready made RPM's available for that. If you want to install the source version I suggest you REMOVE the old versions before. To do so check what ssh stuff you've installed using
Code:
rpm -qa | grep ssh
Then remove those packages using rpm -e. After you've done that you can proceed with the installing from source if you really want/need to do it!
 
Old 10-08-2002, 01:10 PM   #4
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Original Poster
Rep: Reputation: 30
I just reran the ./configure make make install to look for errors and this time I noticed the output below, this is the end of when I put in the make install, What is the sshd user it is looking for?

if you need more of the output I will post any and all of the screen output.

/usr/local/etc/ssh_host_key already exists, skipping.
/usr/local/etc/ssh_host_dsa_key already exists, skipping.
/usr/local/etc/ssh_host_rsa_key already exists, skipping.
id sshd || \
echo "WARNING: Privilege separation user \"sshd\" does not exist"
id: sshd: No such user
WARNING: Privilege separation user "sshd" does not exist
[root@porky openssh-3.4p1]#

Last edited by cli_man; 10-08-2002 at 01:11 PM.
 
Old 10-08-2002, 02:40 PM   #5
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
The source install defaults to PREFIX=/usr/local. Redhat probably built them with a PREFIX=/usr. If you intend to use privelage separation, you will need to create a sshd user for the processes to run under.
 
Old 10-08-2002, 03:51 PM   #6
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Original Poster
Rep: Reputation: 30
Thank you to those who replied, the advice to remove the old rpm's helped alot, and then from there I found an article on the net about the priviledged user it is talking about, I will make a couple of comments for anyone else with this problem

I found in the source directory that I downloaded a file called README.privsep this tells what changes to make to the system for the newest sshd and actually rather than write more I will leave it at that because that file is where I found the rest and I would rather have that read than have me misquote or mislead someone.

Thanks for the help.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sshd TimeBandit Linux - Software 4 06-20-2005 12:00 PM
sshd x 3 Martin Strand Linux - Newbie 1 05-11-2005 05:45 PM
sshd not starting up on boot after upgrade babis Linux - Software 1 03-18-2004 08:04 PM
Enabling SSH in mandrake 9.2 - sshd vs. sshd-xinetd DogTags Linux - Newbie 7 11-25-2003 01:17 PM
sshd archangel Linux - Security 3 07-19-2001 10:37 PM


All times are GMT -5. The time now is 04:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration