For my normal login with ssh I have in my ~/.ssh/config the following lines:
GSSAPIAuthentication yes
GSSAPIDelegateCredentials yes
... so that if I call kinit and get a Kerberos ticket then I can connect with ssh without typing in the password.
How do I make sshfs use the same ticket to mount a remote directory without asking for the password?
(right now I'm getting an error saying remote host has disconnected)
And what would an entry for /etc/fstab look like for that? Right now I have this:
sshfs#username@remoteHost: mountpoint fuse comment=sshfs,noauto,users,exec,uid=1000,gid=1000,allow_other,reconnect,transform_symlinks,BatchMode=yes 0 0
BTW: I need to make it use the Kerberos ticket and not my RSA or DSA keys, because that is forbidden on the remote host side.