Can't connect with ssh and sshd complains about permissions on authorized_keys files

I was recently trying to connect to a CentOS box from Windows and had the following error in /var/log/secure (after enabling DEBUG3 level logging in /etc/ssh/sshd_config):

Dec 19 18:01:05 hostname sshd[25119]: debug1: trying public key file /root/.ssh/authorized_keys
Dec 19 18:01:05 hostname sshd[25119]: debug1: Could not open authorized keys '/root/.ssh/authorized_keys': Permission denied

It's an SELinux problem, and I don't quite understand it, but here's the one-liner that fixes it:

restorecon -FRvv ~/.ssh

Found on stackoverflow: "SSHD Gives error could not open Authorized Keys, although permissions seem correct"

Tags: 

Comments

Much obliged to you for some other educational web journal. Where else would I be able to understand that sort of data written in such a perfect means? I have a mission that I"m a little while ago chipping away at, and I have been at the post for such data. buy Modo

Besides the beauty and charm of this country, what makes Thailand's strength in this ranking is its cost of living. Indeed, the latter is almost three times lower than in France. For example, a full meal in a good local cuisine restaurant will cost an average of five euros.  heritiers

Your content is nothing short of brilliant in many ways. I think this is engaging and eye-opening material. Thank you so much for caring about your content and your readers.
Motivation

In another articIe published in thé journal Urology aIso the intention wás to evaluate the consequences of tramadol to resolve the problems of premature ejacuIation. A bibliographic séarch was pérformed in the Cochrané Library, MEDLlNE, EMBASE ánd in Technology Citation Index Extended. buy tramadol 100mg cheap | order ultram online PURCHASE TRAMACOL CHEAP

This is the free mahjong games which makes the mahjong mahjong free games online which results in free cheats and codes and you can get the free entry to mah jong

Hire a live bands to make your reunion or even birthday party magical an affair. You can choose amongst bands that play songs of a particular decade or a particular singer or group. The website teaches you how to hire the right decade band or music genre band for your party. souldesire.co.uk

I have perused a couple of the articles on your site now, and I truly like your style of blogging. I added it to my top choices online journal website list and will be inquiring soon. If it's not too much trouble look at my site also and let me realize what you think. Designer Shoes sale

About the dosagés availables for TRAMAD0L ONLINE there are 50mg, 100mg, 150mg and the more strong is 200mg. Some customer buy 200mg just to cut afterwards by 4 and get parts of 50mg at a lot more cheap prices. The most typical bundle is Tramadol 50mg by 180 Pills. BUY TRAMADOL

Thanks for taking the time to discuss this, I feel strongly that love and read more on this topic. If possible, such as gain knowledge, would you mind updating your blog with additional information? It is very useful for me.
hairstyles101

You make so many great points here that I read your article a couple of times. Your views are in accordance with my own for the most part. This is great content for your readers.

Great  post, you have pointed out some  fantastic  points , I  likewise  think  this s a very  wonderful website

Parc Life

I guide the students that how they can pass the exams and how can they get the certification for the latest knowledge this certification exam students click at a+ 220-901 practice test certification its better for your bright future and will helpful to attain the IT certification 

Mowgli (Neel Sethi) who was raised since his birth in the middle of the wolves was made to leave the jungle due to a fearsome tiger Shere Khan, who consistently remained after him to attack. showbox app

These are really awesome works you have done. I am always amazing of your work. you can check this famous Kik on your PC. Download this Kik for PC and enjoy.

Nowadays, it is all possible with the application of Showbox, as it proves an unlimited collection of movies and TV shows, from which the user can select his favorite choice of media. Showbox

Only aspire to mention ones content can be as incredible. This clarity with your post is superb and that i may think you’re a guru for this issue. High-quality along with your concur permit me to to seize your current give to keep modified by using approaching blog post. Thanks a lot hundreds of along with you should go on the pleasurable get the job done.
men's grooming salt lake city ut

It does not matter which iPhone/iPad you have and the version of iOS you are running right now. Any of these methods will help you install MovieBox and enjoy the unlimited movie streaming and downloads. Movie Box

The announcement follows the recent deal between Disney and Hotstar that announced last month. The latter gives Hotstar access to films made under four different studios - Marvel, Pixar, Lucasfilm, and Disney itself - plus television content thanks to Disney's ownership of ABC Studios. hotstar movies

Pages

Add new comment