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

QTpass will not authenticate for git via ssh on Windows #590

Open
AlpNov opened this issue Apr 15, 2022 · 1 comment
Open

QTpass will not authenticate for git via ssh on Windows #590

AlpNov opened this issue Apr 15, 2022 · 1 comment
Labels

Comments

@AlpNov
Copy link

AlpNov commented Apr 15, 2022

Describe the bug
When push/pull via the windows gui, remote is using ssh protocol, qtPass show:

Permission denied, please try again. 
Received disconnect from [server IP] port 10264:2: Too many authentication failures 
Disconnected from [server IP] port 10264 
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

This is similar error to what console git would return if entering passwords wrong too many time.

To Reproduce
Steps to reproduce the behavior:

  1. Set up git and ssh on an ubuntu server
  2. Set up git repo for existing password
  3. Set up QtPass and QtPass folder on windows machine
  4. Clone repo
git clone ssh://user@[server ip]:10264/path/to/repo
  1. Confirm QtPass see folder and password, decrypt passwords correctly
  2. Confirm git can push/pull via the command line:
git push
user@[server ip]'s password:
Everything up-to-date
  1. Try to use push/pull arrow on QtPass
  2. Receive error:
Permission denied, please try again. 
Received disconnect from [server IP] port 10264:2: Too many authentication failures 
Disconnected from [server IP] port 10264 
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Desktop (please complete the following information):

  • Windows 10
  • QtPass
  • git.exe

Server (please complete the following information):

  • Ubuntu 20.04
  • git
  • pass

Additional context
Private server, not github or bitbucket

@AlpNov AlpNov added the bug label Apr 15, 2022
@1da1a172
Copy link

I hit the exact issue attempting to use an ssh key (protected with a passphrase). The FAQ suggested using git-gui--askpass as the git binary. For me, this just caused it to fail silently instead of fail with an error message.

I was using:

  • Native OpenSSH (installed as a Windows feature)
  • git installed via winget git.git

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

No branches or pull requests

2 participants