Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Dec 2015 02:07:42 +0100
From:      Patrick Hess <>
Subject:   Re: Synchronizing directory hierarchies via SFTP
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <>

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.


Want to link to this message? Use this URL: <>