Skip to content
New issue

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

Bug ssh: handshake failed: ssh: unable to authenticate #62

Closed
5 of 11 tasks
bogh opened this issue Apr 13, 2024 · 1 comment
Closed
5 of 11 tasks

Bug ssh: handshake failed: ssh: unable to authenticate #62

bogh opened this issue Apr 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@bogh
Copy link

bogh commented Apr 13, 2024

  • I have the latest version of sake
  • I have searched through the existing issues

Info

  • OS

    • Linux
    • Mac OS X
    • Windows
    • other
  • Shell

    • Bash
    • Zsh
    • Fish
    • Powershell
    • other
  • Version: 0.15.1

Problem / Steps to reproduce

I have 1password as http agent and I've also tried with identity_file setting. Connecting to ssh doesnt work, and give me the following error:

ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

I run: sake run ping

@bogh bogh added the bug Something isn't working label Apr 13, 2024
@bogh
Copy link
Author

bogh commented Apr 13, 2024

I have found a solution too, that I tried, but initially failed cause I didn't set the variables correctly.

I've added the following to my fish config file: ~/.config/fish/config.fish:

set -x SSH_AUTH_SOCK ~/.1password/agent.sock
set -x GIT_SSH=/usr/bin/ssh

and worked.

@bogh bogh closed this as completed Apr 20, 2024
@bogh bogh reopened this Apr 20, 2024
@bogh bogh closed this as completed Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant