We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firstly, thanks for sshfs :)
If I ssh into my server, it works:
$ ssh dev.home ___________________________ < You have no real enemies. > --------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || ~ $
If I try mounting my home directory via sshfs, it fails:
$ sudo sshfs -v -o allow_other,default_permissions [email protected]:/home/duncan ~/dev/ [email protected]: Permission denied (publickey).
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.
The text was updated successfully, but these errors were encountered:
What have you got in your ~/.ssh/config file?
~/.ssh/config
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)
identityfile /path/to/key
Or, since you're using yubikeys you might have a agent socket setup that isn't defined in ssh config?
Sorry, something went wrong.
Currently I have:
SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh
... set in my environment variables. Should that do it?
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: