Hello,
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 shellsteam 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.
Thanks.
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 shellsteam 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.
Thanks.