Open duncan-bayne opened 10 months ago
What have you got in your ~/.ssh/config
file?
Sometimes if you don't specifically define the SSH key via identityfile /path/to/key
, it will try to authenticate using all keys on your system and then SSH will fail on too many attempts before it reaches your correct key (see https://superuser.com/questions/268776/how-do-i-configure-ssh-so-it-doesnt-try-all-the-identity-files-automatically)
Or, since you're using yubikeys you might have a agent socket setup that isn't defined in ssh config?
Currently I have:
SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh
... set in my environment variables. Should that do it?
Firstly, thanks for sshfs :)
If I ssh into my server, it works:
If I try mounting my home directory via sshfs, it fails:
Pretty sure this has something to do with the fact that my SSH auth is happening via my GPG auth key, which lives on my YubiKey 5 Nano.
Versions of things:
I appreciate that I'll need to raise a PR to fix this myself, but wanted to raise the issue first.