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
cesemjAsked:
Who is Participating?
 
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:
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
 
cesemjAuthor Commented:
Thank you, I will let you know how things turn out.
0
 
cesemjAuthor Commented:
Excellent guidance!!!
0
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.

All Courses

From novice to tech pro — start learning today.