I am trying to upload my code to a server through a tunneled SSH (SSH after SSH)
So first I run this line:
and then in a seperate terminal I run this bash script:
sudo ssh email@example.com -L 22:clsnn007:22
The problem is that sftp doesn't return the console after executing the quit command, it just hangs. When using ctrI-C It shows "interrupt", but still doesn't return to the console.
sftp jdgrave@localhost <<EOF
put -R /media/Matlab/Thesis/Software/SVN/QuadrupedSim
I have the same problem when using rsync (eg. not returning after running succesfully), so I presume this is something more fundamental? This is ubuntu 10.10 btw.