gitui icon indicating copy to clipboard operation
gitui copied to clipboard

Problem pushing / pulling with ssh url

Open jo541 opened this issue 3 years ago • 4 comments

Describe the bug When I try to push or pull request I have the message "git error:Couldn't find credentials". But I used ssh connection.

To Reproduce Steps to reproduce the behavior:

  1. Go to gitui
  2. Commit new modification
  3. Press p
  4. Error message

Expected behavior Have the possibility to use ssh url.

Context (please complete the following information):

  • macOS 12.2.1
  • GitUI 0.20.1

jo541 avatar Mar 07 '22 14:03 jo541

Same here :

Software version

gitui 0.20.1

Operating system

macOS 12.2.1 (Darwin 21.3.0)

Compile time information

  • Profile: release
  • Target triple: aarch64-apple-darwin
  • Family: unix
  • OS: macos
  • Architecture: aarch64
  • Pointer width: 64
  • Endian: little
  • CPU features: unknown
  • Host: aarch64-apple-darwin

Environment variables

SHELL=/bin/zsh
EDITOR=<not set>
GIT_EDITOR=<not set>
VISUAL=<not set>

Command-line

gitui --bugreport

boutmos avatar Mar 11 '22 12:03 boutmos

Can you guys share the offending ssh url?

extrawurst avatar Mar 19 '22 09:03 extrawurst

Thanks for responding :) Terribly sorry but I can't, it's a work one, which is a SAML-ed git repo with 'sso enabled'. Having said all that, as far as command-line git is concerned it's vanilla SSH, eg git fetch works fine.

One thing might be worth mentioning is: I'm using an 'id_ed25519' key as opposed to an RSA one. Perhaps that's related?

Here's my original post, i put it up on my wrong account:

Not sure if this helps (apologies if this is just comment-spam!) but here's my logs for the same issue:

Software version gitui 0.20.1

Operating system macOS 12.2.1 (Darwin 21.3.0)

Compile time information Profile: release Target triple: x86_64-apple-darwin Family: unix OS: macos Architecture: x86_64 Pointer width: 64 Endian: little CPU features: fxsr,sse,sse2,sse3,ssse3 Host: x86_64-apple-darwin Environment variables SHELL=/bin/zsh EDITOR= GIT_EDITOR= VISUAL= Command-line gitui --bugreport

chrishulbert avatar Mar 20 '22 22:03 chrishulbert

Can you guys share the offending ssh url?

No, it a private Gitlab

boutmos avatar Mar 21 '22 06:03 boutmos

This issue has been automatically marked as stale because it has not had any activity half a year. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 20 '22 04:10 stale[bot]

Can you guys share the offending ssh url?

Public gitlab.com

detuur avatar Jan 19 '23 13:01 detuur