I have session s1 an session s2.
I am inside some directory with session s1.
I would like to select a file and use a custom command (scp ... ) to transfer this file to a folder on the server of session s2.
Currently I can reference password, username, etc. of current session.
My request boils down to being able to access such parameters also for a specified (by name) session.
Or - could you suggest how I can transfer files between remote servers in a convenient way.
Currently I have to copy from s1 to my local machine. Then copy from my local machine to s2. And this is very slow, having in mind my servers are in another country :-)