some lab computers at my university have sftp disabled. However, I have normal ssh access. Obviously I don't have root permissions on these computers.

I need to transfer a fair amount of VHDL to/from these. I could use, fx:

ssh user@lab1 cat file > local_copy

-and tarball it all up, but that is plain ugly. I would rather mount through sftp so I can use my own local editor, but given the circumstances...

And I belive that SSHFS (the FUSE module) depends on sftp... :/

link|improve this question
Just found shfs but it seems rather old. No package for ubuntu. – user42806 Nov 21 '10 at 17:24
Not sure what shfs is, but sshfs is under active development. Build source if no Ubuntu package. – mankoff Nov 21 '10 at 17:57
feedback

2 Answers

If sftp is merely missing, as opposed to actively forbidden (which I'm not sure is even possible if you have full command line access), obtain an sftp-server binary for the right architecture and version of OpenSSH, and specify its path when calling sftp or sshfs:

sftp -s /path/to/sftp-server user@lab1
sshfs -o /path/to/sftp-server user@lab1:/ /path/to/mount/point

If your local editor is Emacs, you don't need all that: Tramp can use many different methods including ssh and ssh+scp.

If you prefer to maintain a local copy of all the files, you can use Unison (like rsync, but bidirectional) to keep them in synch.

link|improve this answer
feedback

What about SCP?

http://www.go2linux.org/scp-linux-command-line-copy-files-over-ssh

link|improve this answer
That works, but I would still like a mount point, so I can edit as if locally (ie with my own editor). – user42806 Nov 21 '10 at 17:29
even with sftp you wouldn't really be editing locally but you'd first download, then edit, then upload edited version, no? I'd go with a vnc if that's possible, it will be faster and more convenient. – stijn Nov 21 '10 at 17:31
Yes, but ofc. thats transparent to me. No VNC, but I could X-forward the the lab pc's outdated editor. The question still holds. – user42806 Nov 21 '10 at 17:38
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.