qkhhly
qkhhly

Reputation: 1220

mount remote file system using sshfs and without root permission

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?

Upvotes: 16

Views: 19673

Answers (3)

cagcoach
cagcoach

Reputation: 679

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.

Upvotes: 0

mcs
mcs

Reputation: 11

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.

Upvotes: 1

Marius
Marius

Reputation: 1073

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

sshfs [email protected]:/foldertomount/ ~/mountpoint

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

Upvotes: 15

Related Questions