[lug] Using "ask-pass" With sftp?

Glenn English ghe at slsware.net
Sat Jun 18 13:17:24 MDT 2016


> On Jun 18, 2016, at 12:36 PM, stimits at comcast.net wrote:
> 
> Hi,
>  
> I have a bit of a conundrum, how do I use sftp from any (Ubuntu or other) machine to an embedded Ubuntu machine to download root-access-only files using only password, and not customizing each Ubuntu machine for allowing this? Can this be done on the command line?

How about:

1) put ssh keys everywhere, then write an Expect script to change the files from root only, sftp them, then ssh over and change them back?

2) do the copy with Rsync? (Don't know this'd work, but Rsync has so many options, there oughta be something...)

3) switch to Debian (sniff)

-- 
Glenn English





More information about the LUG mailing list