I am trying to copy files from a remote server to my local server, however, my remote server first requires me to connect to an intermediate host and then leapfrog onto the actual server from there. I am wondering how would I go about copying files from my remote server to my local machine with the scp command using this leapfrogging technique?
So first I have to connect to intermediate server, then from there I want to connect to my actual server.