sublime-text-git
sublime-text-git copied to clipboard
Unable to push with encrypted SSH key
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.
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.