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

Unable to push with encrypted SSH key #582

Open
uchiit opened this issue Mar 3, 2023 · 1 comment
Open

Unable to push with encrypted SSH key #582

uchiit opened this issue Mar 3, 2023 · 1 comment

Comments

@uchiit
Copy link

uchiit commented Mar 3, 2023

Hi!

Where can I set the password for SSH private key in Sublime?

Sublime works fine with non-encrypted key but with encrypted key it says:

Permission denied (publickey).
fatal: Could not read from remote repository.

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

At the same time GitGui works fine with encrypted keys but asks about password with every push request (which is normal).

Thank you!

PS:
"ssh-add" didn't work.

@uchiit
Copy link
Author

uchiit commented Mar 3, 2023

Solved.

Here is an explanation:
https://gist.github.com/danieldogeanu/16c61e9b80345c5837b9e5045a701c99

PS: First part of Step №3 can be omitted. Second part of Step №3 can be omitted if you use default name (id_rsa) for your keys.

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