You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jolibert Yes I know that, but I think that title is a little misleading. Problem is with keys, not with SSH.
For me it returns:
root@localhost:~# ssh [email protected]
The authenticity of host 'github.com (192.30.252.120)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Warning: Permanently added 'github.com,192.30.252.120' (RSA) to the list of known hosts.
Permission denied (publickey).
I didn't even have an /root/.ssh/known_hosts file. The commands were failing before it even asked me to "Permanently added 'github.com,...' (RSA) to the list of known hosts".
However, trying all of this again today: it's all working. I have no idea what the difference is. I've not changed anything that I know of. /shrug
In my case, I could not SSH in a sudo session. I'd switched to a non-root user using sudo -iu <user>, and SSH would fail with this error. If I used login <user> instead to switch users, SSH works fine. (SSH as the default root user always works fine.)
Activity
patryk9200 commentedon Apr 7, 2016
For me SSH works fine. I logged in to my other linux machine in my LAN network.
I sucesfully logged in using:
ssh IP_ADDRESS -l USER_NAME
jolibert commentedon Apr 7, 2016
Patryk Golus (@patryk9200) thats more a problem of handling public keys if I may
patryk9200 commentedon Apr 7, 2016
jolibert Yes I know that, but I think that title is a little misleading. Problem is with keys, not with SSH.
For me it returns:
Looks ok.
Try running that command as root.
Look hee:
https://github.com/markomarkovic/simple-php-git-deploy/issues/65
Ron Waldon-Howe (@jokeyrhyme) What You have in:
Try:
Do you have properly configured git?
I used ssh all day successfully without any problems.
jokeyrhyme commentedon Apr 7, 2016
I didn't even have an /root/.ssh/known_hosts file. The commands were failing before it even asked me to "Permanently added 'github.com,...' (RSA) to the list of known hosts".
However, trying all of this again today: it's all working. I have no idea what the difference is. I've not changed anything that I know of. /shrug
muru commentedon Sep 22, 2016
In my case, I could not SSH in a
sudosession. I'd switched to a non-root user usingsudo -iu <user>, and SSH would fail with this error. If I usedlogin <user>instead to switch users, SSH works fine. (SSH as the default root user always works fine.)