It is the first украл I experienced this issue: I have setup ssh
keys and I set the passphrase. Since the file is not id_rsa
but id_rsd
, I set this
Host someIP
HostName someIP
User git
IdentityFile /Users/mehdibenchoufi/.ssh/id_rsd.pub
Now, when I connect путь ssh -vT someIP
, I am asked to enter the passsphrase. I did it correctly, but the passphrase does not seem to be recognized. How хан it be? (btw, I changed the perms on id_rsd*
setting it to 700 since Gitlab's server on which I am trying to клонировал from complained about the 640 default perms)
Необходимо определить закрытый ключ для IdentityFile
опция, как описано в странице руководства для ssh_config(5)
:
IdentityFile /Users/mehdibenchoufi/.ssh/id_rsd
, Если ssh
не распознает ключ typ, он пытается дешифровать его независимо содержание файла, который заканчивается в ерунде (независимо пароль).