From my local machine I can copy files from a remote machine
scp remote:/some/file/path ~
But what if I'm already SSHed into the remote machine? Can I do something like this
ssh remote
cd /some/file
scp path local:~
where `local` somehow resolves to the machine I SSHed *from*. This would of course be possible if the local machine is running an SSH server and the remote is configured to connect to it, but that isn't always an option.
Is something like this possible?