I'm often working on my laptop on the move, while being logged in on my working station via SSH. Sometimes I might want to download a file to my local laptop, and since I most likely do not have port forwarding set up where I happen to work for the moment, it means the following process:
- Find what file I'm looking for on my workstation and copy its path.
- Open a new terminal window, write scp -P 28 firstname.lastname@example.org:path/to/file .
What I'm looking for is a way to download it locally in the first step already, without having to do all the hassle of opening new terminal windows, etc. Any ideas?