S
S
sudo rm -rf /2016-03-20 15:22:55
git
sudo rm -rf /, 2016-03-20 15:22:55

Push to GitHUB in Sulime Text 3 via SSH. Why does not it work?

The question, perhaps, is stupid, but there is a problem, and the perfectionist soul
haunts. To simplify this process, I installed the Git plugin on Sublime Text 3. I connect to GitHUB via SSH. git pushIn the console, everything works fine, but I don’t want to switch there all the time just for the sake of it.
When I try to push from Sublime, the connection fails:

Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

What to do?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Velichko, 2016-03-20
@Zoxon

git can't find your ssh key

I
ildar r. khasanshin, 2016-09-29
@ildarkhasanshin

still need to add .pub content here https://github.com/settings/keys
in ubuntu ~/.ssh/id_rsa.pub

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question