Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6014121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:38:46+00:00 2026-05-23T02:38:46+00:00

This morning, while trying to migrate some files from my test server to my

  • 0

This morning, while trying to migrate some files from my test server to my live server; I made a horrible mistake.

I was trying to pull my /etc/apache2 from the sandbox, and put it live, so I was temporarily changing the permissions in /etc/apache2 to 777, while I was migrating.

However, I had a massive distraction and changed the permissions in /etc to 777. Anyhow, I spent the last four hours fixing this problem, and it all more or less works.

I managed to get sudoers back to 0440, and everything else is at 755, which is more or less neutral.

But now, Ubuntu is instantly refusing every single kind of remote connection from every computer (except Apache, MySQL, PhpMyAdmin). When I try to make a remote connection from Putty, Tunnelier or WINSCP it just instantly refuses it with some error message like “Network Error“.

Anyhow, I really don’t want to hear how stupid I am for making this mistake, trust me; I have been hating myself all morning. But if anybody has some suggestions on how I can fix this problem, I almost certain that it is due to permissions.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T02:38:47+00:00Added an answer on May 23, 2026 at 2:38 am

    I’m pretty sure that you are required to at least chown root and chmod go-rwx the openssh private key; Read access only on the public key;

    Same requirements may go for other keys but I’m assuming ssh is your first point of entry for this server. The man page for ssh (sshd_config) will have the exact details

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This morning I moved a .NET website from our local server to live (not
I am trying to wrap my head around this one this morning. I am
For some reason I started VS 2008 this morning and I wont display any
i know virtually no java but i'm trying to learn some for this project.
Since this morning (i've updated some plugins, and updated mac os X) I get
This morning, I was reading Steve Yegge's: When Polymorphism Fails , when I came
This morning I ran into an issue with returning back a text string as
This morning, I tried to commit a revision to Subversion and found that all
This morning, when I tried to add a new ASPX page to my project,
There was a post this morning asking about how many people disable JavaScript. Then

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.