Solved

Upgrading from OpenSSH_5.9p1 to OpenSSH_6.5

Posted on 2014-03-12
3
635 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

772 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