Solved

Upgrading from OpenSSH_5.9p1 to OpenSSH_6.5

Posted on 2014-03-12
3
638 Views
Last Modified: 2014-03-18
Platform: Ubuntu 12.04 LTS

Please share any articles on upgrading from OpenSSH_5.9p1 to OpenSSH_6.5.  

Question: Can I use apt-get to install openssh_6.5 and if I do will I have to reconfigure openssh from scratch or will the server retain the existing configuration settings?


root:~# ssh -v
OpenSSH_5.9p1 Debian-5ubuntu1.1, OpenSSL 1.0.1 14 Mar 2012
0
Comment
Question by:cesemj
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
Joseph Gan earned 500 total points
ID: 39927832
I believe the old version of ssh and new version were installed in different directories, ie.
Old one under /usr/sbin/ssh
New one under /usr/local/bin/ssh

So you can install the new version following here:
http://www.linuxfromscratch.org/blfs/view/cvs/postlfs/openssh.html

Then manually link the older version of  'ssh' command to new version:
 
   # mv /usr/sbin/ssh /usr/sbin/ssh_old

   # ln -s /usr/local/bin/ssh /usr/sbin/ssh
0
 

Author Comment

by:cesemj
ID: 39930418
Thank you, I will let you know how things turn out.
0
 

Author Closing Comment

by:cesemj
ID: 39938705
Excellent guidance!!!
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question