Skip to main content

All Questions

Tagged with
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
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
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 ...
TVG's user avatar
  • 133
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/...
23176xsk's user avatar
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=/...
user154501's user avatar
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]:/...
Stewart's user avatar
  • 15.4k
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-...
Martin's user avatar
  • 11
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 ...
Pierrick Vodoz's user avatar
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 ...
Ninguém's user avatar
  • 151
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 ...
Pranjal Doshi's user avatar
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 ...
Rob's user avatar
  • 111
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>:...
cfgauss's user avatar
  • 11
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,...
David Ljung Madison Stellar's user avatar
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 ...
matohak's user avatar
  • 311
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. ...
Zak's user avatar
  • 181

15 30 50 per page
1
2 3 4 5