SCP from non-root to root

Aug 9, 2013 at 12:12 PM
Edited Aug 9, 2013 at 6:32 PM

I'm looking for a way to do a scp when I cannot be directly connected in root.
SCP works fine with initial login (non-root) and password, the problem is that I need to access a directory that is only possible via su user before doing the scp.

Is there a way to combine shellstream and scp ?
Shellstream will be used to become su user from a non-root user and then scp will be used to copy file.

Any clue to do this will be welcome.