Re: Partial install question

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Wed, 5 Dec 2018 at 08:40, John Adams <jxadams@xxxxxxxx> wrote:

> Hi, folks,
>
>      I've got an older server which can't be upgraded to a current OS for
> $REASONS on which I need to update some or all of the openssh programs and
> utilities, specifically sftp.
>
>      My thought is to either install it in /usr/local (or
> /usr/local/openssh) and have folks alter their paths, or build it there and
> use symlinks (probably the better choice) into /usr/bin.
>

That should work; configurre's paths default to /usr/local and it should
happily co-exist with older binaries in the system paths.


>      I'm tempted, though, to just move /usr/bin/sftp and install that and
> only that, if possible. Is it?
>

Maybe, it depends on how old the system ssh is.  sftp invokes ssh to make
the connection and it is somewhat dependent on what arguments ssh(1)
supports.  sftp has the path to ssh hardcoded into it (_PATH_SSH_PROGRAM,
which is set by configure) so you'd have to point that to your existing ssh
binary, but if you do that and it can make a connection then it'll probably
work fine.

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux