Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi everyone,
Energy was interrupted after a blackout and since then I can't connect remotely to a server. (CentOS 6).
The ssh service is running, as I have physically access.
I don't know to much about Linux, what different things can be the cause of my problem?
Thanks in advance
Hi everyone,
Energy was interrupted after a blackout and since then I can't connect remotely to a server. (CentOS 6).
The ssh service is running, as I have physically access.
I don't know to much about Linux, what different things can be the cause of my problem?
Thanks in advance
First check your IP (ifconfig) and make sure that you can ping it . then try to ssh again if you get positive respond.
I would recommend making sure your battery backups are working so that future black outs do not cause this issue.
1. Verify that ipaddress of your box using ifconfig
2. Make sure the sshd is running by typing
Code:
ps aux | grep sshd
If you get a /usr/sbin/sshd response, it is. If not, start the service
Code:
service sshd start
3. If starting the sshd service, verify the service is running by using the ps command from step 2.
4. Check your iptables to make sure there is no weird REJECT policy.
5. If you are accessing the server on a LAN, there should not be any routers interfering. If you are on a WAN, you will need to check the router config.
We use Red Hat/CentOS so adjust the commands to suit your distro.
Thanks a lot.
I'm at work now and I've been able to try what all of you said. [LIST][*]Definitely, SSH is running..[*]The IP is the same as before[*]Selinux is disabled[*]I haven't been able to know about IPTABLES as I'm not root, the administrator is on holydays, can you imagine?[*]There's supposed to be a 50000-euro SAI, but it's clear it didn't work..
Thanks again, I'm going to try to contact to the administrator...it's a desaster..
have you checked the firewall in your local client machine and make sure that if you have disabled selinux then you have to restart your machine for the changes to take affect.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.