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?
If you want to permanently mount the remote directory you need to edit the local machine's /etc/fstab file an add a new mount entry. This way when your system boot up it will automatically mount the remote directory. To mount a remote directory over SSHFS from /etc/fstab , use fuse. sshfs as the filesystem type.
SSHFS itself is a file system in user space (FUSE) that uses the SSH File Transfer Protocol (SFTP) to mount a remote file system. The sshfs command is a client tool for using SSHFS to mount a remote file system from another server locally on your machine.
Using an SSHFS connection, you can browse, access, and modify files and directories on your A2 Hosting account as if they were stored on your local computer. As its name implies, SSHFS uses SSH (Secure Shell) to communicate with the server, so all connections are encrypted and secure.
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".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With