LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-08-2010, 02:17 PM   #1
ahingert
LQ Newbie
 
Registered: Aug 2010
Posts: 22

Rep: Reputation: 0
Upgrading SSH and SSHD


Hi,
I am seeing a funny thing: there is a version difference when I run "sshd -v" and when I run "ssh -v" and I hope some of the experts here can clear this up for me.

But let me start from the beginning. After a PCI compliance scan I was told I needed to "Upgrade to OpenSSH 5.0 o later, available from the OpenSSH download site".

As such I run the following code on my server:
Code:
wget ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-5.6p1.tar.gz
tar -xvzf openssh-5.6p1.tar.gz
/root/openssh-5.6p1/configure
make
make install
/etc/init.d/sshd restart
After restarting the server I however get two different versions and...
Code:
# sshd -v
OpenSSH_5.6p1, OpenSSL 1.0.0a-fips 1 Jun 2010

Code:
# ssh -v
OpenSSH_4.5p1, OpenSSL 1.0.0a-fips 1 Jun 2010
...unfortunately the PCI compliancy scan will not let me pass without this upgrade.

Any ideas?


Thanks,
Adrien
 
Old 11-08-2010, 03:30 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
It looks like you didn't uninstall the old versions first, and the old ssh client is earlier in the search PATH than the new client. Also, most Linux distributions have package management. Why wouldn't you install the newer version from the distribution repositories?
 
Old 11-10-2010, 02:45 PM   #3
ahingert
LQ Newbie
 
Registered: Aug 2010
Posts: 22

Original Poster
Rep: Reputation: 0
Hi Macemoneta, thanks for your reply.
I solved, by reinstalling the whole OS.

How would I unsinstall SSHD without locking myself out?

The reason I did not use yum is that it was updated only to version 4.5


Adrien
 
Old 11-10-2010, 02:45 PM   #4
ahingert
LQ Newbie
 
Registered: Aug 2010
Posts: 22

Original Poster
Rep: Reputation: 0
Hi Macemoneta, thanks for your reply.
I solved, by reinstalling the whole OS.

How would I unsinstall SSHD without locking myself out?

The reason I did not use yum is that it was updated only to version 4.5


Adrien
 
Old 11-10-2010, 03:18 PM   #5
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
SSHD wasn't the problem from your information, the ssh-client was. You only needed to update the openssh-clients.

If yum was only providing the 4.5 version of ssh, then you were using a very old unsupported release, and need to upgrade.
 
  


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
Starting sshd: /etc/init.d/sshd: line 113: /usr/sbin/sshd: Permission denied sumanc Linux - Server 5 03-28-2008 05:59 AM
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 12:53 PM
sshd I can't ssh to my machine - Please help! dhbiker Slackware 18 03-13-2005 12:14 AM
Enabling SSH in mandrake 9.2 - sshd vs. sshd-xinetd DogTags Linux - Newbie 7 11-25-2003 01:17 PM
sshd, ssh, scp, help Stimm Linux - Security 3 03-25-2001 06:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:57 PM.

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