Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Ubuntu 12.04 installing openssh from source

  1. #1
    Join Date
    Dec 2009
    Beans
    543

    Ubuntu 12.04 installing openssh from source

    Hi,

    I have a trouble on installing the latest version of openssh on ubuntu 12.04. I downloaded the latest version openssh-6.4 since that ubuntu 12.04 provides an old version 5.9.
    I installed succesfully with classic command ./configure make make install. Now if I type ssh -V from command line, the system recognizes the correct version. But if I try to use some applications that use ssh they still call the old version. I tried to remove the packages of openssh-client and openssh-server, but in this case also other applications are affected as freenx.
    So what should I do to use the latest version of openssh from all applications?
    Thank you

  2. #2
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu 12.04 installing openssh from source

    You'll have to remove or replace the old packages. If you can't remove them you can replace them

    One option would be to compile the new OpenSSH as a package and then install that homemade package. That would solve the dependency problems.

  3. #3
    Join Date
    Dec 2009
    Beans
    543

    Re: Ubuntu 12.04 installing openssh from source

    Ok, can you tell me how to do or a link where it is explained how to make a package from source.
    Thank

  4. #4
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu 12.04 installing openssh from source

    Here is the short HowTo:

    http://tldp.org/HOWTO/html_single/De...uilding-HOWTO/

    It's not that many steps, though there are details to follow. Debian and Ubuntu use the same packaging system even if they use different repositories and binaries.

  5. #5
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu 12.04 installing openssh from source

    Here's another one, but it works with the deb-src package in the repository. In the middle, you'll want to substitute your new source code for the old source code and then update the control file etc.

    http://www.cyberciti.biz/faq/rebuild...inary-package/

    I'm not finding a good, simple list of how to do what you are trying to do. I used to have notes, but they are too old.

  6. #6
    Join Date
    Dec 2009
    Beans
    543

    Re: Ubuntu 12.04 installing openssh from source


  7. #7
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu 12.04 installing openssh from source

    Yes that looks ok, if you are not going to build a full package. Step 4 is the important one, with checkinstall, in that it gets the package listed in the package manager.

  8. #8
    Join Date
    Dec 2009
    Beans
    543

    Re: Ubuntu 12.04 installing openssh from source

    Hi,

    I tried with success it is no difficult, but I have not solved the original problem. In fact I'm able to install the code by source or by new package, but if I remove openssh-server and openssh-client it does not work. Otherwise if I maintain them I still have the old version. How could I do?

  9. #9
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    4,520

    Re: Ubuntu 12.04 installing openssh from source

    We're assuming here that your use of 12.04 is for a considered reason.

    Is that a valid assumption? Some users make extra work for themselves by using LTS releases for purposes they are not intended for (like latest software). Users who want the latest versions of software may find it easier to use 13.10, which does include openssh 6.4 in the Ubuntu repositories.

    The next LTS 14.04, will also include openssh 6.4...and will include it for five years.

  10. #10
    Join Date
    Dec 2009
    Beans
    543

    Re: Ubuntu 12.04 installing openssh from source

    Yes, your are right. I need a stable LTS version because I have server. I need to install at least the version 6.3 of openssh because it implements new features and because I would try a patch of a project that enhance the performance for networks with high BDP.
    Do you have any suggestion about how I can do?
    Thank

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •