Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: SCP from non-root to root

$
0
0
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.

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>