Suppose this setting:
- Full access on local machine
- The proxy server is accessible via SSH but only allows 2 specific commands:
exit
- closes the connectionssh remote
- establishes an SSH connection to the remote
- The remote server gives restricted access:
ssh
is not installedscp
is installed but can't connect to any remote machine (would needssh
)- Most basic commands like
cat
,mv
,rm
,echo
, etc. are available
A connection to the remote can not directly be established.
The task: Copy a file from the remote to the local machine.
Any ideas?
Note: The file to copy is about 170 MB, so base64 -w 0 < file.bak
gives an output which I can not handle by copy and paste on my local machine.