Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Dec 2015 02:07:42 +0100
From:      Patrick Hess <patrickhess@gmx.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Synchronizing directory hierarchies via SFTP
Message-ID:  <8139725.Ur2OEuu1Yn@desk8.phess.net>
In-Reply-To: <44daceeebc9b2997663a88e485b83df9@dweimer.net>
References:  <13761006.QDN0LtKzYl@desk8.phess.net> <24246596.8z5VK3yfqz@desk8.phess.net> <44daceeebc9b2997663a88e485b83df9@dweimer.net>

next in thread | previous in thread | raw e-mail | index | archive | help
dweimer wrote:
> I am not familiar with lftp, so it may not have support for it, but if 
> it were me doing this, I would look into using public/private OpenSSH 
> key pairs instead of sending the password with the expect script.

I'd prefer to take that route, too. Well, actually, I'd rather use
cpdup over SSH with public keys in the first place. Unfortunately,
with this server, I really can't do *anything* on the remote side,
and password authentication is the only option I've been given.

But good thing you mentioned that. The Expect script will of course leak
the password out to the process table. That's not an issue in my case;
if it was, I'd definitely set security.bsd.see_other_uids=0.

Patrick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8139725.Ur2OEuu1Yn>