• Register
0 votes
510 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.

3.9k points

Please log in or register to answer this question.

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.

38.6k points

Related questions

0 votes
1 answer 7 views
7 views
Problem : The authenticity of host 'github.com (192.30.253.113)' can't be established.
asked Jul 4 Isac Christiaan 103k points
0 votes
1 answer 16 views
16 views
Problem: I use my project at work, but I would like to work with him from home as I can log into my home machine to work with my project. However, from home, I see the following message: The authenticity of host 'github.com (ip)' can ... . RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8. Are you sure you want to continue connecting (yes/no)? How can I get past it?
asked Apr 30 muktaa 34.6k points
0 votes
1 answer 21 views
21 views
Problem : The authenticity of host 'github.com (192.30.255.113)' can't be established.
asked Jul 4 Isac Christiaan 103k points
0 votes
1 answer 28 views
28 views
Problem: Where should I look for help with this issue? >The authenticity of host 'github.com' can't be established.
asked May 9 Florina Gulnar 106k points
0 votes
1 answer 24 views
24 views
Problem; Please solve this error …unable to write to var cache apt
asked Mar 24 Ifra 43.4k points
0 votes
1 answer 23 views
23 views
Problem: How to deal with this one : Er_access_denied_error: access denied for user 'root'@'localhost' (using password: no)
asked Mar 14 Wafa Abu Yousef 6.1k points
0 votes
1 answer 2.1k views
2.1k views
Problem : I am new to NodeJS and trying to connect to mySQL through the NodeJS file, however I am facing the below error : { Error: ER_ACCESS_DENIED_ERROR: Access denied for user 'root'@'localhost' (using password: YES) at Handshake.Sequence._packetToError (/home/alecxe/Node ... bar" AS second_field', function(err, results, fields) { console.log(err); console.log(results); myconnection.end(); } );
asked Dec 6, 2019 alecxe 7.5k points
0 votes
1 answer 9 views
9 views
Problem: The authenticity of host can't be established
asked Jul 8 asha 121k points
0 votes
1 answer 6 views
6 views
Problem: I need someone to help me to understand why the authenticity of host can't be established ?
asked Apr 26 salim1 60.6k points
0 votes
1 answer 4 views
4 views
Problem: Module not found: error: can't resolve 'fs'?
asked Jul 11 Nahil 128k points