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

stimits at comcast.net stimits at comcast.net
Sat Jun 18 12:36:51 MDT 2016


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?
 
If I were using ssh, I could use force pseudo-terminal allocation and embed the sudo command into a single command over ssh, such as with scp.  If I were using a local Fedora host, I could possibly ssh to the Ubuntu machine, sudo, and sftp in reverse from remote Ubuntu to local Fedora...but there is the possibility that both machines are Ubuntu. Is the only way to use sftp with an Ubuntu environment needing root access at both ends to customize the remote Ubuntu system itself?
 
Side note: I'm thinking of renaming some Ubuntu machines to something like "RubiksCubuntu". :P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20160618/4e424ae4/attachment.html>


More information about the LUG mailing list