I need to transfer files via ssh
, but unfortunately scp
and sftp
are not viable, as the host I am connecting is just a "door" node that is redirecting me to a different machine available only on a private supercomputing network to which it is attached (and thus it's asking me for the password twice). For this reason, I cannot run any command on the door node.
I wonder if I can transfer files using some tool that uses the output (terminal) stream from the ssh connection.
The only alternative would be outputting the files in some handy format such as base64, copying them to clipboard and decoding them locally (and vice-versa).
I am starting to get frustrated using vim remotely. What I want to achieve is a rsync-like system in which I edit the source code of my program locally and then test it remotely, but as you can see, it is not that easy.
I might not be the only one that had this problem, so I guess that there must exists a tool that has this aim? (A solution with FUSE would be the best, but I know this may be asking too much).
lua
code, hence not very voluminous