I'm looking to SCP a file on a remote host which I usually would SSH into. I have a config file setup when I SSH which saves alot of time and typing. I'm trying to do something similar for SCP in that I want to copy a remote file locally but don't want to have to type the IP/host etc. Is that possible?
Trying to get this to work with SCP -F but also need to sub-verse out of my home directory...
Here's where I'm at, where myserver is the name of the host specified in the SSH config file.
scp -v -F myserver://var/www/html/file01/sampledir/329/619/myfile.mp4 /Users/Tony/Desktop