[Pkg-systemd-maintainers] Bug#737331: Bug#737331: systemd.automount fails to mount with sshfs
Michele Cane
michele.cane at gmail.com
Mon Feb 3 22:19:55 GMT 2014
Hi Michael,
On Mon, 03 Feb 2014 22:28:06 +0100
Michael Stapelberg <stapelberg at debian.org> wrote:
> To debug this, use:
>
> systemctl status home-michele-Documents-Tempestus.automount
resulting in:
home-michele-Documents-Tempestus.automount
Loaded: loaded (/etc/fstab)
Active: active (waiting) since Mon 2014-02-03 23:07:16 CET; 37s ago
Where: /home/michele/Documents/Tempestus
> systemctl status home-michele-Documents-Tempestus.mount
resulting in (after changing the path to rsa as you suggested):
home-michele-Documents-Tempestus.mount
- /home/michele/Documents/Tempestus Loaded: loaded (/etc/fstab)
Active: failed (Result: exit-code) since Mon 2014-02-03 23:08:21
CET; 6s ago Where: /home/michele/Documents/Tempestus
What: michele at thegate.doesntexist.com:/home/michele
Process: 3367 ExecMount=/bin/mount
michele at thegate.doesntexist.com:/home/michele /home/michele/Documents/Tempestus
-t fuse.sshfs -o
noauto,comment=systemd.automount,_netdev,reconnect,users,uid=1000,gid=1000,idmap=user,allow_other,reconnect,IdentityFile=/home/michele/.ssh/id_rsa
(code=exited, status=1/FAILURE)
>
> I can see two potential issues with your setup (after trying to
> replicate it):
>
> 1) You specify IdentityFile=~/.ssh/id_rsa, but globs are not
> necessarily processed, and even if they are, this will resolve
> to /root/, not /home/michele, as you probably intended. Better use
> the absolute path.
no changes apparently.
>
> 2) When running that command as root (i.e. the mount call you can see
> in systemctl status on the .mount unit), does SSH prompt you to accept
> the host key or do you have /root/.ssh/known_hosts set up properly?
>
when I run the command as root it asks me for the password of user
michele.
If I understand correctly is the user root on my local machine
connecting to the server as user michele. How can I solve this
practically?
Cheers
Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140203/77e98274/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list