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

Can't access ssh url #319

Open
tyru opened this issue Feb 24, 2020 · 1 comment
Open

Can't access ssh url #319

tyru opened this issue Feb 24, 2020 · 1 comment

Comments

@tyru
Copy link
Member

tyru commented Feb 24, 2020

$ volt get -u tyru/forget-me-not.vim
[INFO] Full building /Users/tyru/.vim/pack/volt/opt directory ...
[INFO] Installing vimrc and gvimrc ...
! github.com/tyru/forget-me-not.vim > upgrade failed
  * failed to upgrade plugin: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
[ERROR] failed to install some plugins

Workarounds

  • Use ssh-agent
  • Use https when accessing ssh url
    • git config --global "url.git@github.com:<user>/.insteadOf" "https://github.com/<user>/"
    • Replace <user> with accessing repo's user

Thanks

reported by @tennashi

@tyru
Copy link
Member Author

tyru commented Feb 24, 2020

Ah, go-git doesn't care url.git@github.com:<user>/.insteadOf key when accessing repository.
Volt should see it (if user wants it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant