Sftp is part of SSH protocol, but maybe I’m wrong.
I can mount manually using sshfs, but when setting up the mount point there is always the same message.
I’ve tried setting up new pair of Keys on the server, mounting as root, changed owner of the folder to my account but all fails.
That may be entirely correct - I have not thought of it that way - but if you cannot connect using a sftp client - then since sshfs is based upon the sftp service or sshd - hence the first step to troubleshoot is to verify - is it possible to connect using sftp - a yet simple but very effective remedy : .
Hi there, not sure if this will be of help but I encountered this exact same problem on Linux Mint 20.1 as outlined by the original poster. I found this thread while searching for a solution and wanted to post in case it helps others.
The actual solution was hinted at here (link removed because the forum won’t let me post a link. It was on vassox dot com).
The solution was to use the command line to open an ssh connection to the destination as the root user (or use sudo) which prompts to add the host fingerprint to the cache, to which you say yes. having done this once, like magic, the automount will work as expected.
Not sure if this is a “bug” in systemd but it would be awfully nice if the error message was somewhat more useful!