Change user after logged in to enable SCP file transfer

Advertisement

pizzetta72
Joined:
Posts:
1

Change user after logged in to enable SCP file transfer

Hi,
I need to know if is it possible to change the user before using SCP file transfer and after logged in with a different user....
Example:
1) Connect in a remote LINUX server with a user1 using SCP protocol (no SFTP/FTP available or initial ROOT login access to the server)
2) Change user from user1 to ROOT (user1 has no access to /dev and /dev/null path. SCP transfer is not permitted)
3) Perform an SCP file transfer using ROOT account to a remote PC

Many thanks for help

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum