LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-29-2009, 07:12 AM   #1
kevinwhite
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Rep: Reputation: 0
Unhappy Big Problem. Please Help. - SSH - Linux


Hi,

Ok i rent a linux server from a company but there support arent the greatest.

Yesterday i installed APF firewall and DDoS Deflate and that all went fine. Later on that day my server wasnt showing online viewing the webpages so I thought maybe the httpd is down. Went to login to SSH and when i put in the username as root
it comes up

login as: root
Using keyboard-interactive authentication.
Password:

Now i know my root password and its on a notpad file too on my comp. It sitll says access denied.

What can I do. My server has been down over night now.

ANy help will be appreciated.

Best Regards,
Kevin.
 
Old 01-30-2009, 09:07 AM   #2
jimbo1954
Member
 
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 264

Rep: Reputation: 33
You said

Quote:
Yesterday i installed APF firewall and DDoS Deflate and that all went fine. Later on that day my server wasnt showing online viewing the webpages so I thought maybe the httpd is down. Went to login to SSH and when i put in the username as root
it comes up

login as: root
Using keyboard-interactive authentication.
Password:

I think the answer lays right there in the question....you had a ssh session running, from which you installed a firewall. You do not mention making allowances in the firewall for incomming ssh sessions from your remote address, so while the established session that you were on was OK while the firewall was installed (it was already established, so the newly installed firewall wouldn't block it), any subsequent session would be blocked.

I have a bad feeling you will need to get full console access to fix this one, by opening up the firewall to allow your ssh session inbound. If your hosting company is as poor as you suggest, you may want them simply to go into the console, and disable the firewall, then once you can get back into the system remotely, you can set it up properly.

A tip for you, to save you "sawing off the branch you are sat on": when you configure a firewall remotely, leave a session running, then try and open up another one to test the ability of external clients to get past the firewall with the correct credentials. If the configuration is wrong, you have the original session still active so you can correct the config and try again, with another session...I've done the same thing myself in the past, its nasty when you shut yourself out with your own firewall
 
Old 01-30-2009, 09:23 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
can you login as user?
 
Old 01-30-2009, 11:21 AM   #4
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
If sshd is prompting him for login credentials, it's not a firewall issue.
 
Old 01-31-2009, 03:01 AM   #5
jimbo1954
Member
 
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 264

Rep: Reputation: 33
Red Face!

Quote:
If sshd is prompting him for login credentials, it's not a firewall issue.
D'Oh...good point...what was I thinking of? Thanks Anomie!
 
Old 01-31-2009, 02:56 PM   #6
amoralejo
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Rep: Reputation: 1
If you are sure the password you have is the right one, it must be a ssh or pam issue. sshd has a parameter that allow to disable or enable root access. However, I understand that you installed the firewall using ssh, right?, the most important test here is to try to access using another user and then try to su to root.

Alfredo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BIG BIG PROBLEM with nvidia driver for linux x86 basshead62887 Linux - Hardware 5 09-12-2007 12:33 AM
BIG problem with SSH!! masterross Slackware 14 04-15-2006 02:46 AM
Installing RH 9 with RAID 5 --Big, big Problem!!! rhonneil Linux - Software 2 09-25-2003 08:13 PM
BIG Linux installation problem chris384 Linux - General 7 12-24-2002 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration