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

7 5 2
3,870 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.

9 7 4
38,600 points

Related questions

0 votes
1 answer 2 views
2 views
Problem; Please solve this error …unable to write to var cache apt
asked Mar 24 Ifra 24.4k points
0 votes
1 answer 6 views
6 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 1.7K views
1.7K 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
1 vote
1 answer 782 views
782 views
Problem: I am very new to node so I think I am making something extremely wrong here as I am unable to find any info at all by doing research online. I already have the django site and I required the JS charting library so I chose the chart.js. I have ... build a chart. Failed to create chart: can't acquire context from the given item . Please help me in fixing above NodeJs elated error.
asked Jun 4, 2020 Martin K 6.6k points
0 votes
1 answer 2 views
2 views
Problem: So my problem is that when i try adding a new dependence (npm install --save socket.io). The JSON file is also valid. I get this error: Failed to parse json
asked Apr 2 ummesalma 24.5k points
0 votes
1 answer 2 views
2 views
Problem: I get some errors in the console the moment i run the index.html. The errors are: "Fetch API cannot load file:///C:/Users/Jack/Desktop/Books_H/book-site/public/api/books. URL scheme must be "http" or "https" for CORS request." and the other ... ) TypeError: Failed to fetch at HTMLDocument.document.addEventListener". I don't even know how to start to solve this problem. Any help? Thanks!
asked Mar 15 ummesalma 24.5k points
0 votes
1 answer 2 views
2 views
Problem: Can anyone tell me the solution of this problem? the great promise of exporting is that:
asked Mar 24 Ifra 24.4k points
0 votes
1 answer 16 views
16 views
Problem: I was able to install Angular. Anytime I tried to run ng, I would get: the term 'ng' is not recognized as the name of a cmdlet
asked Mar 20 ummesalma 24.5k points
0 votes
1 answer 6 views
6 views
Problem: I tried to check the type of context whether it is an instance of Context, which is in another file, but node js throws TypeError: Right-hand side of 'instanceof' is not callable.
asked Mar 27 ummesalma 24.5k points
1 vote
1 answer 6 views
6 views
Problem : I want to save images in Azure storage but I get the error message: TypeError: Cannot read property '1' of nullI can not understand to solve, Can anyone help?
asked Mar 21 Shovo210 13.3k points