Im wondering what the quickest way for this is
On my local computer I have a file in
When i have SSH'ed into another machine I decide I want the local file to go in /remote/long/dir/
I then open a new shell, scp the file to home, switch back to the first shell and mv the file from home to the current directory.
I find this way easier due to tabbed completion etc.
Is there a "trick" to make scp use the files from the computer connecting to it show in the remote ?
i guess example syntax would be (to be run on the remote machine)
scp host:/tabbed/complete/file file
or would i alawys need a second connection if i decide half way though ?
The computers i connect from dont have direct port access from outside