Solved

Upgrading from OpenSSH_5.9p1 to OpenSSH_6.5

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

919 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now