• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 715
  • Last Modified:

Upgrading from OpenSSH_5.9p1 to OpenSSH_6.5

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
  • 2
1 Solution
Joseph GanSystem AdminCommented:
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:

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
cesemjAuthor Commented:
Thank you, I will let you know how things turn out.
cesemjAuthor Commented:
Excellent guidance!!!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now