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.
254 questions
0
votes
0
answers
176
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 ...
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. ...
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]
...
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 ...
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 ...
1
vote
1
answer
663
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 ...
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 ...
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....
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. ...
1
vote
1
answer
244
views
Use sshfs session to run commands on the remote
Something has happened with the SSH process on a remote server so that now when trying to connect it rants:
kex_exchange_identification: read: Connection reset by peer
It looks like the SSH daemon ...
1
vote
1
answer
397
views
Processes in uninterruptible sleep when the server is not responding
I'm using sshfs to mount and interact with directories and files located on a remote server. The command I'm using is:
sshfs -o follow_symlinks host:dir mountpoint -o reconnect
Sometimes, after a ...
0
votes
0
answers
91
views
Can not unmount ssh connection after hibernation or momentary connection loss
I work on a mounted directory to a cluster through sshfs. However, sometimes my connection fails for a second and the mounting stops working. The problem is that I can not umount to be able to restart ...
2
votes
0
answers
164
views
how to backup remote location containing hard links, without rsync
I want to backup backintime-data from an internet-facing, remote machine running debian 11 (src). That is the hardlinks-part from the title.
I want to back it up to a (very dumb) NAS (dest) in the ...
2
votes
0
answers
2k
views
Diagnosing slow sshfs transfer speeds (as compared to http)
I've been trying to set up a way to transfer a reasonable amount of data between two servers (remote and local, both running ubuntu server), including some backups (zipped), pictures, home movies, ...
3
votes
1
answer
337
views
sshfs login problem on android - invalid argument
I am login into android phone as usual, but facing problem as below:
Try 1: (failed)
$ sshfs -p 8022 [email protected]:/storage ~/sshfs-mount2 -o IdentityFile=~/.ssh/termux-rsa
sshfs: invalid ...