[lug] Using "ask-pass" With sftp?
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:
> 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?
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)
More information about the LUG