“UNPROTECTED PRIVATE KEY FILE!” Error using SSH into Amazon EC2 Instance (AWS)

This is probably a stupidly simple question to some 🙂 I’ve created a new linux instance on Amazon EC2, and as part of that downloaded the .pem file to allow me to SSH in. When I tried to ssh with: ssh -i myfile.pem <public dns> I got: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ … Read more

PostgreSQL error: Fatal: role “username” does not exist

I’m setting up my PostgreSQL 9.1. I can’t do anything with PostgreSQL: can’t createdb, can’t createuser; all operations return the error message Fatal: role h9uest does not exist h9uest is my account name, and I sudo apt-get install PostgreSQL 9.1 under this account. Similar error persists for the root account. 17 s 17 Use the … Read more

What’s the difference between OpenID and OAuth?

I’m really trying to understand the difference between OpenID and OAuth? Maybe they’re two totally separate things? 2Best Answer 21 OpenID is about authentication (ie. proving who you are), OAuth is about authorisation (ie. to grant access to functionality/data/etc.. without having to deal with the original authentication). OAuth could be used in external partner sites … Read more

How to use OAuth authentication with REST API via CURL commands?

I am trying to use the WordPress Rest Api with authentication to get more data from the API. I have installed the Oauth plugin, rest-api plugin, and gotten API credentials from WP-CLI. I have figured out how to access data without authorization. This works: // set our end point $domain = “http://localhost/wp-api”; $endpoint = $domain.”/wp-json/wp/v2/posts/”; … Read more

The definitive guide to form-based website authentication [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Closed 5 years ago. The community reviewed whether to reopen this question 5 months ago and left it closed: Original close reason(s) were not resolved This question’s answers are a community effort. Edit existing answers to improve this post. It is … Read more