11

I am using a admin'ed machine as a regular user and would like to mount some remote filesystem through sshfs. The machine doesn't have sshfs install. Is there a way that I can install it as a regular user and mount the remote filesystem?

genpfault
  • 47,669
  • 9
  • 68
  • 119
qkhhly
  • 1,010
  • 3
  • 10
  • 22

3 Answers3

12

If you have access to the folder on the remote machine this should be possible in the following way:

sshfs user@remote.com:/foldertomount/ ~/mountpoint

The ssh user has to have permissions to the "foldertomount" while your local user has to have permission to the "mountpoint".

Marius
  • 983
  • 2
  • 6
  • 16
  • Ah~, my fault. The machine actually doesn't have sshfs install. My question should be whether it is possible to install it without root permission – qkhhly Aug 16 '12 at 14:20
  • 1
    You could possibly install it to your home directory. – Marius Aug 16 '12 at 16:22
0

You can run sshfs from anywhere. As long as you have appropriate fuse permissions and ssh access it should work. You do have to mount within your home directory or somewhere else you normally have access to, obviously.

mcs
  • 1
0

You don't need to install sshfs, you can just use a binary version.

For this, download the .deb package e.g. from launchpad.net.

Then execute

ar x <PathToDebFile>

to unpack the .deb file and copy the sshfs-executeble from inside the resulting data.tar.gz archive to the computer.

cagcoach
  • 449
  • 4
  • 14