Why does Openssh only open when I cancel the git push command?

Asked

Viewed 23 times

1

Operating system: Windows 11

Git version: 2.32.0.windows.1

I’m trying to push into a private repository on Github using Git Bash, but nothing happens.

I use the command line git push origin main, but nothing happens. But when I press CTRL + C opens an Openssh dialog box requesting Github credentials, but when I enter and click on "OK" it returns an error, probably because it used CTRL + C.

print da caixa de diálogo do OpenSSH print da caixa de diálogo do erro

I added the remote repository normally using git remote add origin [url de protocolo https] and also tried to add using SSH with git remote set-url origin [url SSH] and both happen the same thing.

I also tried to make the repository public, but it also doesn’t change the result I described above.

I would like help to solve the problem.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.