Hi,
until now, I had been using Ubuntu 20.04, but I made the switch to Kubuntu. I have a remote folder that I access through ssh, and I used a convenient piece of software called autofs that automatically mounts that share in a folder when it is accessed. It allows for transparent access to remote files to many applications who don't support that natively.
In any case, I copied my previous configuration from Ubuntu (/etc/auto.master and /etc/auto.sshfs), and reinstalled it:
Contents of /etc/auto.master
Contents of /etc/auto.sshfs
I created a keypair, copied the key to my server, and made sure that I could log in passwordless with the root user.
I can make sure it works by manually using the sshfs command and browsing the mountpoint:
However, when I start the autofs service, nothing happens. No errors, nothing.
If I stop that service try to run the automount command manually, I get a few things, but no errors that would indicate what could be wrong.
(and stays there until I Ctrl+c)
I was thinking that KDE uses kio-fuse instead of fuse, and that may be the root of the problem? But I really have no idea.
Any input will be more than welcome!
until now, I had been using Ubuntu 20.04, but I made the switch to Kubuntu. I have a remote folder that I access through ssh, and I used a convenient piece of software called autofs that automatically mounts that share in a folder when it is accessed. It allows for transparent access to remote files to many applications who don't support that natively.
In any case, I copied my previous configuration from Ubuntu (/etc/auto.master and /etc/auto.sshfs), and reinstalled it:
Code:
sudo apt install sshfs autofs
Code:
/media/sshfs /etc/auto.sshfs uid=1000,gid=1000,--timeout=30, --ghost
Code:
sshmount -fstype=fuse,rw,port=4432,nodev,nonempty,noatime,al low_other,max_read=65536 :sshfs\#user@my-server\:/
I can make sure it works by manually using the sshfs command and browsing the mountpoint:
Code:
sshfs -v -o rw,port=4432,nodev,noatime,allow_other,max_read=65536 user@my-server\:/ /media/sshmount
If I stop that service try to run the automount command manually, I get a few things, but no errors that would indicate what could be wrong.
Code:
root@TM1703:/media# automount -f -v -d Starting automounter version 5.1.8, master map /etc/auto.master using kernel protocol version 5.05 lookup_nss_read_master: reading master file /etc/auto.master do_init: parse(sun): init gathered global options: (null) lookup_read_master: lookup(file): read entry +dir:/etc/auto.master.d lookup_nss_read_master: reading master dir /etc/auto.master.d lookup_read_master: lookup(dir): scandir: /etc/auto.master.d lookup_read_master: lookup(file): read entry +auto.master lookup_nss_read_master: reading master files auto.master do_init: parse(sun): init gathered global options: (null) lookup_read_master: lookup(file): read entry /media/sshfs master_do_mount: mounting /media/sshfs automount_path_to_fifo: fifo name /var/run/autofs.fifo-media-sshfs lookup_nss_read_map: reading map file /etc/auto.sshfs do_init: parse(sun): init gathered global options: uid=1000,gid=1000 mounted indirect on /media/sshfs with timeout 30, freq 8 seconds st_ready: st_ready(): state = 0 path /media/sshfs ghosting enabled
I was thinking that KDE uses kio-fuse instead of fuse, and that may be the root of the problem? But I really have no idea.
Any input will be more than welcome!