• Register
0 votes
20 views

Problem :

I am currently trying to use

sudo npm install

to install all of my dependencies for the application written in the nodejs. My OS is Ubuntu 13.04

But, I keep getting below warning:

The authenticity of host 'github.com (192.30.252.131)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:1d:52:13:1a:21:2d:bz:1d:66:a8.
Are you sure you want to continue connecting (yes/no)?

Has anyone encountered above warning before? Is it really possible to authenticate and store a fingerprint locally? So that I will not need to authenticate again when I enter a sudo npm install next time.

Currently, I am unable to enter anything, not even a "yes". My terminal just got stuck,I have to press the ctrl+c to terminate.

by (3.9k points)  

1 Answer

0 votes

Solution :

To proceed safely :

1 is use the https url instead of ssh.

2 is have the ssh access work.

To have the ssh access work :

Do the ssh -T git@github.com but don't just type a  "yes". Check if your hash that is shown matches one of a hashed shown in https://help.github.com/articles/what-are-github-s-ssh-key-fingerprints/ in your case it does, and just see, the page is fetched through https for a same public key infrastructure reasons.

If your hash matches, then connection is indeed very safe and you can answer "yes" to ssh's question.

by (36.1k points)  
...