P
P
P7472020-06-15 08:30:05
git
P747, 2020-06-15 08:30:05

Why does PhpStorm require a password from ssh?

Good afternoon!

I can't connect to the repository via ssh via PhpStorm, what could be the problem? I installed the private key through TortoiseGit, connects through it, pulls the changes

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Sundukov, 2020-06-15
@P747

Because they did not set up work with git via ssh. Here is an example from my ~/.ssh/config file:

Host bitbucket.org
    IdentitiesOnly         yes
    PubkeyAuthentication   yes
    PasswordAuthentication no
    Hostname     bitbucket.org
    User         git
    IdentityFile ~/.ssh/alekciy_bitbucket.rsa

to work with bitbucket.org. Checking work:
[email protected]:~$ ssh [email protected]
PTY allocation request failed on channel 0
logged in as alekciy

You can use git or hg to connect to Bitbucket. Shell access is disabled
Connection to bitbucket.org closed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question