One can log into a remote shell via SSH, and one can use an FTP application to log in via SFTP using the same credentials over SSH. How then, does one initiate a file transfer from the remote host to the local host when logged into a shell via SSH?
I know that I could use scp or rsync to move the files, but the requires authenticating which is not something that I can always do from the host. From my limited understanding the existing SSH connection is all that should be needed, as SSH has file transfer capability.
Thanks.