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
ssh username@desktop-departmentnetwork
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 ssh
, scp
, and sshfs
to connect to a 'network within a network'?
desktop-departmentnetwork
to your home via ssh? – rendon Jul 22 '13 at 01:01