Attempting to use PSFTP to "put" a file from my local Windows 7 machine up to a directory on a remote Ubuntu server with only root access permitted. How do I sudo elevate my PSFTP session to execute the put as root?
The following for i.e. is not supported:
sudo put test.xml
In my preliminary research, it seems the only alternative, which I'd like to shortcut, is to put to my home directory and then mv to the final location via SSH (where I can sudo mv). Or of course logging in as root in the first place which is not at all a viable alternative.