LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-02-2004, 12:00 PM   #1
manya
Member
 
Registered: Apr 2004
Posts: 194

Rep: Reputation: 15
SSH Upgrade help


Hello to everybody

Can anyone help me on SSH server upgradation
i need to know what command would be OK

rpm -Uvh or rpm -ivh --nodeps

also do i need to take a system backup of system

kindly give me detail procedure

Regards
Manya
 
Old 06-02-2004, 09:54 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
When doing an upgrade of an existing version, you should normally use the -U (upgrade) or -F (freshen) options. Normally rpm -Uvh packagename works best. I certainly wouldn't recommend use the nodeps (no dependency checking) option. Kind of defeats one of major purposes of using rpms in the first place.

As far as doing system backups, it really depends on what you want to backup in the first place and the resources you have available (could be anything from tunnelled rsync to a dedicated server, to a tape drive, to just backing up user files on a local dvd burner).
 
Old 06-04-2004, 12:16 AM   #3
manya
Member
 
Registered: Apr 2004
Posts: 194

Original Poster
Rep: Reputation: 15
thnks but................

HI Capt

thanks for your help

but when i do -Uvh it give me libc.so.5 dependendcies what does that mean
and how an overcome/solve this issue

Regards
manya
 
Old 06-04-2004, 08:38 AM   #4
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
That's why you should always do dependency checking with rpm. SSHd has a number of dependencies that are required to function correctly. libc.so.X is one of those requirements (you can see the full list of requirements by doing (rpm -q -R packagename). libc.so.X is usually provided by the glibc package. So you will need to upgrade to a compatible version of glibc. A note of warning though, glibc is used by a large number of programs and you can seriously break a lot of things if you upgrade glibc. This is especially true if you need to upgrade to a substantially differnet version of glibc. You can download the new version of glibc and see whether that generates a large number of dependency errors as well. If it doesn't generate any dependency errors, then you can go ahead and upgrade glibc.

Usually redhat supplies compatible versions of sshd (often these are patched versions) for the various versions of Redhat. Though now that support has been discontinued, I'm not sure if those are still available.

It might help if you told us what linux distro/version you are using and why you want to upgrade sshd as well as what versions of sshd (openssh-server) and glibc you have (you can find these by: rpm -qa | grep packagename)
 
  


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
Allow upgrade to root after login ssh bourbon_beast Linux - Security 2 10-27-2005 04:21 AM
upgrade to ssh please help juanb Linux - General 11 10-05-2005 05:58 PM
SSH upgrade colombo Linux - Networking 1 05-29-2004 07:13 PM
SSH upgrade to 3.7.1 basserman Linux - Software 1 05-17-2004 02:40 PM
SSH Upgrade problems josephswagner Linux - Software 5 12-03-2002 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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