sshfs | File system based on the SSH File Transfer Protocol | Incremental Backup library

 by   osxfuse C Version: osxfuse-sshfs-2.5.0 License: GPL-2.0

kandi X-RAY | sshfs Summary

kandi X-RAY | sshfs Summary

sshfs is a C library typically used in Backup Recovery, Incremental Backup applications. sshfs has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has medium support. You can download it from GitHub.

This is a filesystem client based on the SSH File Transfer Protocol. Since most SSH servers already support this protocol it is very easy to set up: i.e. on the server side there’s nothing to do. On the client side mounting the filesystem is as easy as logging into the server with ssh.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              sshfs has a medium active ecosystem.
              It has 1037 star(s) with 126 fork(s). There are 48 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 43 open issues and 33 have been closed. On average issues are closed in 110 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of sshfs is osxfuse-sshfs-2.5.0

            kandi-Quality Quality

              sshfs has no bugs reported.

            kandi-Security Security

              sshfs has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              sshfs is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              sshfs releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of sshfs
            Get all kandi verified functions for this library.

            sshfs Key Features

            No Key Features are available at this moment for sshfs.

            sshfs Examples and Code Snippets

            No Code Snippets are available at this moment for sshfs.

            Community Discussions

            QUESTION

            Unable to write over an SSHFS mounted folder with SLURM jobs
            Asked 2022-Mar-31 at 07:00

            I have the following problematic and I am not sure what is happening. I'll explain briefly.

            I work on a cluster with several nodes which are managed via slurm. All these nodes share the same disk memory (I think it uses NFS4). My problem is that since this disk memory is shared by a lots of users, we have a limit a mount of disk memory per user.

            I use slurm to launch python scripts that runs some code and saves the output to a csv file and a folder.

            Since I need more memory than assigned, what I do is I mount a remote folder via sshfs from a machine where I have plenty of disk. Then, I configure the python script to write to that folder via an environment variable, named EXPERIMENT_PATH. The script example is the following:

            Python script:

            ...

            ANSWER

            Answered 2022-Mar-31 at 07:00

            I shall emphasize that all the nodes in the cluster share the same disk space so I guess that the mounted folder is visible from all machines.

            This is not how it works, unfortunately. Trying to put it simply; you could say that mount point inside mount points (here SSHFS inside NFS) are "stored" in memory and not in the "parent" filesystem (here NFS) so the compute nodes have no idea there is an SSHFS mount on the login node.

            For your setup to work, you should create the SSHFS mount point inside your submission script (which can create a whole lot of new problems, for instance regarding authentication, etc.)

            But before you dive into that, you probably should enquiry whether the cluster has another filesystem ("scratch", "work", etc.) where there you could temporarily store larger data than what the quota allows in your home filesystem.

            Source https://stackoverflow.com/questions/71644241

            QUESTION

            Non-interactive tar_visnetwork()/tar_glimpse()?
            Asked 2022-Mar-11 at 13:04

            Background: I work in terminal R on a remote system and don't have interactive graphical capabilities. Perhaps I could manage to get X11 working but so far I have been productive using some workarounds, rendering plots to file directly and mounting the remote image dir using sshfs.

            Interactive graphics don't work for me but I'd like to visualize target dependencies. Is it possible to somehow render tar_visnetwork() to a static image? Something like the following (which doesn't work)?:

            ...

            ANSWER

            Answered 2022-Mar-11 at 13:04

            tar_visnetwork creates a HTML widget. You can render this file in your local Browser:

            Source https://stackoverflow.com/questions/71437153

            QUESTION

            Raspberry ISO mount via sshfs fails
            Asked 2022-Jan-29 at 16:00

            I hope someone can help me with my problem.

            Background: I want to mount very big ISOs to my raspberry via sftp. If I try to mount the iso from a local folder, for example Downloads\2005-2010.iso it works perfect. But if I try to mount the ISO from a mounted sshfs folder, it fails. I also tryed to change the permission to 777 (only for testing) to the mounted ftp folder, but no success.

            I using "sshfs" to mount my ftp webhosting folder. (Works perfect)

            The Output is different to the following statements:

            1. Statement

            sudo mount /home/pi/isomount/2005-2010.iso /home/pi/medien/2005-2010/

            1.1 Output

            mount: /home/pi/medien/2005-2010: cannot mount /home/pi/isomount/2005-2010.iso read-only.

            1. Statement

            sudo mount -o loop /home/pi/isomount/2005-2010.iso /home/pi/medien/2005-2010/

            2.1 Output

            mount: /home/pi/medien/2005-2010/: failed to setup loop device for /home/pi/isomount/2005-2010.iso.

            Any idears what I can do to mount this .iso?

            ...

            ANSWER

            Answered 2022-Jan-29 at 16:00

            QUESTION

            having a user with the same permissions as www-data
            Asked 2021-Dec-02 at 16:15

            I have a virtual web server running linux and on that I have a user called "user". this is also the user, that i use when i mount the webserver's directory with sshfs. sadly this user cannot write any files for the website i am working on, only the user www-data is allowed to do that. if i use: chown -R user:user ./ to change the owner, i am allowed to change the data as "user", but now the website cannot be opened in the webbrowser anymore. so i have to change the owner of the files back, after i am done editing the files which is extremely tedious.

            I have added the user "user" to the www-data group, but this is not changing anything.

            How can I set everything up in a way, that the user "user" can edit the files as well as www-data?

            ...

            ANSWER

            Answered 2021-Dec-02 at 16:15

            You need to change the permissions for your files so members of the same group are allowed to write. You can do this with the chmod g+w -R ./ command, this works for existing files.

            However, you will notice that newly created files will be created with the owner set to user:user, which would still deny access to www-data. You can change this behavior by setting the default ACL like so: setfacl -R -d -m g:www-data:rw ./

            The setfacl options mean:

            • -R Recursive
            • -d Action applies to default ACL
            • -m Modify the ACL
            • g:www-data:rw Set group by default to www-data and group permission to read and write.

            Source https://stackoverflow.com/questions/70201539

            QUESTION

            How to edit code through SSH on Visual Studio Code (VSCode) without running additional software in the server?
            Asked 2021-Nov-23 at 16:30

            VS Code's default Remote SSH feature installs and runs undesired software on the server for watching files and other purposes which I don't totally understand and don't care.

            Is there some plugin or setup which provides a simple way to just tell VS Code in a workspace file or in settings my SSH Server Credentials and be able to edit files in the server in the same way I do with codeanywhere.com, where I can simple see the server files in a exploration bar to the left and edit files as tabs to the right.

            It's totally the same thing I get with the default Remote SSH VSCode feature, except that I don't want to kill small servers by running additional expensive processes that take excess memory and CPU.

            I also don't want to have to mount the remote file system with SSHFS unless that's managed automatically by some software because SSHFS requires a lot of fine tuning to keep the connection alive and everything, and I also would like to keep the option to open terminal tabs that are directly connected to my server...

            ...

            ANSWER

            Answered 2021-Nov-20 at 05:37

            The short answer is, there's no way to accomplish this in the constraints you've set.

            The way "Remote SSH" works in VSCode is it establishes an SSH session to the remote host, downloads "host" software on the remote server, and tunnels through the SSH connection to talk to that host software.

            You can think of the way VSCode does this as splitting it's own executable code between the GUI from the file operations. It runs the GUI on your computer, but the file operations on the remote one, and uses the SSH connection for them to talk to one another.

            The alternatives to that are either running SSHFS, which as you said yourself is quite finicky (though there's one extension for VSCode that somewhat handles that), or some kind of file-synchronization (Unison comes to mind), where you're effectively editing local files, and then the files/changes are being synchronised remotely.

            Another possibility, but that again comes with it's own limitations, would be to use the new "hosted" VSCode (on https://vscode.dev), and use that to edit a remote repo (say, in GitHub). Then just login to the remote server to pull the code

            Source https://stackoverflow.com/questions/70040021

            QUESTION

            Mounting a virtual environment via SSHFS on local machine using it's Python3 file not working
            Asked 2021-Nov-08 at 09:44

            So I have mounted a part of a development server which hold a virtual environment that is used for development testing. The reason for this is to get access to the installed packages such as Django-rest-framework and Django itself and not having it set up locally (to be sure to use the same version as the development server has). I know that it's perhaps better to use Docker for this, but that's not the case right now.

            The way I've done it is installing SSHFS via an external brew (as it's no longer supported in the brew core) - via this link https://github.com/gromgit/homebrew-fuse

            After that I've run this command in the terminal to via SSH mount the specific part of the development server that holds the virtual enviornment:

            ...

            ANSWER

            Answered 2021-Nov-08 at 09:44

            The solution to the problem was using the VSCode extension Remote - SSH and run VSCode directly in the remote location, and from there being able to access the virtual environment.

            Source https://stackoverflow.com/questions/69486791

            QUESTION

            how to call a command with redirection from python
            Asked 2021-Aug-11 at 16:54

            I can mount (in the fxce4-terminal) successfully with something like:

            ...

            ANSWER

            Answered 2021-Aug-11 at 16:54

            The here-string syntax you tried to use is Bash-specific; os.system() runs sh.

            You're better off using subprocess anyway, as also recommended by the os.system() documentation.

            Source https://stackoverflow.com/questions/68746050

            QUESTION

            SSHFS works on command line but not within fstab
            Asked 2021-Jun-10 at 08:02

            I am trying to connect two servers with SSHFS.

            As root, when launching the command sshfs myuser@ip_adress:/some/dir /other/dir -o idmap=user,identityfile=/home/myuser/.ssh/id_rsa, everything works.

            However, when I set this SSHFS configuration in /etc/fstab and running mount -a, it hangs. The line in /etc/fstab is:

            ...

            ANSWER

            Answered 2021-Jun-10 at 08:02

            So I found the issue: I was trying to mount the .ssh folder (which has the key to connect to the remote server).

            I don't know exactly why it was working on the command line and not through fstab (may be something with the SSH agent) but mounting the folder used to connect to SSHFS caused the issue. I moved the SSH keys to another directory and then it worked like a charm.

            Source https://stackoverflow.com/questions/66880366

            QUESTION

            sshfs with pexpect reported no error but failed to mount (Python 3)
            Asked 2021-May-31 at 10:24

            I ask for help!

            ...

            ANSWER

            Answered 2021-Mar-11 at 10:50

            sshfs should have been killed by SIGHUP prematurely.

            Try ignoring SIGHUP like this:

            Source https://stackoverflow.com/questions/66580183

            QUESTION

            gpg: decryption failed: No secret key without first encrypting/decrypting a file
            Asked 2021-May-29 at 01:26

            Okay, this is a very strange case of this "No secret key" error. I've looked at all the other answers related to this and none of them are related to my problem.

            On my machine I do this..

            ...

            ANSWER

            Answered 2021-May-29 at 01:26

            I'm an idiot, lol. the stdin is already consumed, so it can't prompt for a password at that point, unless I used a gui password prompt

            Source https://stackoverflow.com/questions/67746886

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install sshfs

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/osxfuse/sshfs.git

          • CLI

            gh repo clone osxfuse/sshfs

          • sshUrl

            git@github.com:osxfuse/sshfs.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Incremental Backup Libraries

            rsnapshot

            by rsnapshot

            bitpocket

            by sickill

            RsyncOSX

            by rsyncOSX

            sshfs

            by osxfuse

            rsync

            by WayneD

            Try Top Libraries by osxfuse

            filesystems

            by osxfuseC

            fuse

            by osxfuseC

            osxfuse.github.com

            by osxfuseHTML

            kext

            by osxfuseC

            support

            by osxfuseShell