Conversation
Notices
-
!til that as root I cannot use an sshfs 'connection' made by a normal user (with a keypair for that user) - I was surprised to get a 'Permission denied' on that, but thinking it through, it makes sense. So, I'll have to set up keys, etc. for root as well. #yakshaving
-
@mk Are you sure about that? How do you provide the identity file argument? (i.e. the user's private key) to sshfs/fuse?
-
@mmn I create the sshfs connection like this: 'sshfs hal:/volume1 [mountpoint]' where 'hal:' is the ssh profile (in ssh_config) for the user's ssh connection which profile not only specifies remote server, port and user but also local user's IdentityFile. So I'll need an identity file for root as well, and a corresponding ssh config profile.
-
@mmn if the connection is established by the ordinary user (with the 'hal' profile) that user can do 'ls -l on the mountpoint; if I do that as root on that same already established connection, I get 'Permission denied' - which I deduce is because the identity file does not match the current user.