This question already has an answer here:
- ssh via multiple hosts 4 answers
I'm frequently transferring files and operating programs via
ssh, and often from home. The machine I usually work on is a desktop at work that I cannot
ssh to directly unless I'm already connected to the department network. Thus if I'm at home, I must
ssh to my department's network first and then to my desktop, ie
ssh username@departmentnetwork and then
This setup means that if I am to transfer files from home, I must
scp the files to my drive on the department network,
ssh in to the department network, then
scp the files again to my desktop.
Is there a way to use any or all of
sshfs to connect to a 'network within a network'?