Skip to main content

Questions tagged [sshfs]

sshfs is a FUSE file system which allows to mount a directory on a remote system over SSH. It requires the SFTP subsystem being installed (default with OpenSSH server, but not included with smaller SSHd implementations like e.g. dropbear) on the remote system.

7 votes
1 answer
2k views

Did I accidentally delete files? How can I recover them?

I’m a new PhD student and I’m dealing with a serious issue. I tried to map a directory from Server A (/home/lab/Desktop) to Server B (/home/usr/labDesktop) because Server B has better computing power. ...
Andy Junghyun Kim's user avatar
0 votes
0 answers
178 views

Accessing Docker Unix Socket from a Podman Container on a Remote Server (SSH)

I'm trying to access a Docker Unix socket on a remote server from within a Podman container (offen/docker-volume-backup). I've (root-)mounted the entire root filesystem of the remote server using ...
Jack's user avatar
  • 1
0 votes
0 answers
44 views

sshfs receives `mount[5889]: read: Connection reset by peer` when ran from systemd but works manually

I can't figure how to enable more verbose logging to a systemd .mount file, but here we go my file is mnt-kreijstal.mount and has: # file is `/etc/systemd/system/mnt-kreijstal.mount` [Unit] ...
Rainb's user avatar
  • 121
1 vote
1 answer
664 views

How to mount sftp server with sshfs

It is simple enough to connect sftp server with lftp command without any key or password : lftp 192.168.31.130:3721 lftp 192.168.31.130:~> ls drwxr-xr-x 1 nobody nobody 3488 Dec 22 20:17 ...
showkey's user avatar
  • 437
1 vote
1 answer
53 views

No ability to delete files on sftp mounted by sshfs

I mounted sftp dir via sshfs like: cat <sensitive_data> | sshfs -o password_stdin,allow_other,default_permissions,uid=0,gid=0 $USER@$HOSTNAME: $MOUNT_DIR -oauto_cache,reconnect And the problem ...
fueggit's user avatar
  • 111
71 votes
20 answers
157k views

Connection reset by peer using sshfs

I am using a fuse/sshfs mount which worked fine so far. Now I had to reinstall the server system and suddenly getting the classic read: Connection reset by peer error. I am using public key ...
André Stannek's user avatar
114 votes
5 answers
129k views

How to specify key in SSHFS?

I've got a question that I've not been able to find an answer for. I have two computers, both of which run Ubuntu Linux 12.04. I have set up my first computer ("home") to be able to SSH into my second ...
J L's user avatar
  • 1,273
0 votes
0 answers
41 views

Why does rsync not copy the other execute bit when copying to an sshfs mount?

I have a mounted sshfs drive at /mnt/backup_datascrape with permission rwxrwxr-x. I am trying to copy a directory foo with permission rwxrwxr-x to that mount using rsync while preserving the ...
geckels1's user avatar
  • 173
1 vote
3 answers
1k views

bash count files and directory, summary size and EXCLUDE folders that are fuse|sshfs

I need help for a bash script that counts files and folders in a specified directory on a Linux system (Debian), but I want to exclude a specified folder. I have a main directory named workdir with ...
ReflectYourCharacter's user avatar
29 votes
2 answers
55k views

Transport endpoint is not connected in SSHFS

After reinstalling the server I can not mount it: sshfs [email protected]:/var /remote_mount fuse: bad mount point `/remote_mount': Transport endpoint is not connected When I SSH, I get an error: # ...
clarkk's user avatar
  • 1,917
31 votes
7 answers
80k views

Username and password in command line with sshfs

I'm creating a small backup script using sshfs: sshfs backup_user@target_ip:/home /mnt/backup Is there a way to include the password in this command? Or is there another file transfer solution where ...
Zaza's user avatar
  • 604
0 votes
0 answers
34 views

What are those stuck ssh processes after accessing file server in Caja

I regularly access some remote file server in Caja from remote locations where I don't have a vpn set up. I assume most users of this platform are familiar with that. Whenever the network connection ...
basic6's user avatar
  • 6,585
0 votes
1 answer
209 views

Operation not permitted when writing in sshfs

I use image-backup to backup my Rpi. I backup directly on an FTP server and I do so via sshfs. This is how I connect in my /etc/fstab: MYUSERNAME@MYSERVER:/home/myuser/rpi_backup /mnt/MYSERVER fuse....
bernhard's user avatar
81 votes
8 answers
69k views

What is a better way to deal with server disconnects of sshfs mounts?

I have several directories mounted through sshfs. I sometimes get disconnects from the server (not configurable by me). I usually mount the directories like this sshfs [email protected]:/home/...
Sebastian's user avatar
  • 8,909
1 vote
1 answer
120 views

For SSHFS, can directories and file inherit same permissions as parent directory?

Further to this post, I found out that if the permissions for other should be ---, then I can use (it seems to work): setfacl -R -m d:o::0 test But when using SSHFS, permissions won't be retained. ...
charleslcso's user avatar

15 30 50 per page
1
2 3 4 5
17