All Questions
63 questions
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 ...
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 ...
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 ...
2
votes
1
answer
3k
views
Mount root filesystem with user permission using sshfs
I want to use sshfs to mount filesystem folder on my machine (let's say ~/home).
I would like to be able to edit files inside the / folder that got mounted using any editor (for example, edit /etc/...
1
vote
1
answer
1k
views
SSHFS automount fstab with RSA Keypair asking for password
I have a problem. I added a SSH Server to mount to my server.
I added the following line to /etc/fstab.
sshfs#[email protected]:/home/hd03_00_backup_server/ /mnt/server_backup fuse.sshfs IdentityFile=/...
4
votes
1
answer
3k
views
Using systemd to mount remote filesystems in user-bus
I'd like to mount a directory from a remote machine in my /home/stew/shared. After installing sshfs and using ssh-copy-id to my remote machine, I can do this:
stew@stewbian:~$ sshfs [email protected]:/...
1
vote
1
answer
317
views
Launcher sshfs mount disappears after terminal is closed
I want to make a launcher in my MATE desktop that executes script for sshfs mount:
#!/bin/bash
sshfs login@server:/ /media/user/MOUNT_FOLDER/
This script is called by my launcher:
#!/usr/bin/env xdg-...
3
votes
0
answers
1k
views
sshfs mount and permission
I'm gonna go crazy!
I've been trying to handle a sshfs mounted folder for several days, but always get a permission denied on file.
The context:
Local Server (L) and a Remote server (R).
Only user X ...
0
votes
1
answer
666
views
sshfs mount on login with systemd and unmount on last logout
I'd like to mount (with sshfs) my documents directory - as unprivileged user - on first login and unmount it on last logout (not every logout, of course).
I have key-based authentication working ...
2
votes
0
answers
210
views
directory on `ls -l` showing `?` on most of the details
I have shared a tmp directory on Ubuntu, using sshfs userid@ip:path_to_dir/rdir /path_to_dir/tmp after this I deleted rdir but when I tried umount /path_to_dir/tmp it was unable to do that.
Now ...
0
votes
1
answer
367
views
sshfs appears to mount, but ls & cp on local mount-point hang?
I am FUSE mounting a remote FreeBSD machine with
sudo sshfs -C user@remote-ip:/home/user/ /mnt/localmnt/ -o allow_other -o SmartcardDevice=/dev/hidraw7
to authenticate via an OpenPGP smartcard ...
1
vote
1
answer
3k
views
How can I use a reverse tunnel with sshfs?
I have a local machine which connects via ssh to a remote machine using a middle machine and a reverse ssh tunnel from remote to middle:
remote$ ssh -p <sshd port> -NTR <local port>:...
9
votes
1
answer
2k
views
'exec' option ignored in fstab for sshfs, need to specify to 'mount' on command-line?
I'm using sshfs in my fstab to mount a filesystem in Ubuntu 18.04.04 LTS:
sshfs#[email protected]:/remote-dir /mnt/local-mnt fuse rw,exec,user,allow_other,noauto,reconnect,...
4
votes
2
answers
6k
views
SSHFS: Cannot umount / re-mount remote directory after connection is interrupted
I often use sshfs to mount a remote directory to make it appear as local:
sudo sshfs -o allow_other myname@server:/remote/path /mnt/remote/
Occasionally there could be interruption to the connection ...
1
vote
1
answer
795
views
Permissions problem with remote mount
I am having a simple permissions issue that the solution, or proper setup is eluding me.
I have two servers sitting side by side on the same network. .80 is the web server and .40 is a file server. ...