LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 01-08-2010, 06:59 AM   #1
andycyster
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Rep: Reputation: 0
RHEL4 won't allow remote logins


One of my RHEL4 servers will not allow me to login remotely using ssh.
I am prompted to enter username then password as normal but then the system replies with "Access denied" and asks for password again.
I have system access via remote console port (HP iLO on a blade server) and have reset the user password and proved login works from console.
I have also enabled remote login of root (in /etc/ssh/sshd_config) exactly the same as another system (which works perfectly) but still no remote login.
I would consider myself still as a linux novice for system administration and apologise if the answer is an obvious one.

Thanks and regards, Andy
 
Old 01-08-2010, 07:51 AM   #2
willl_d
LQ Newbie
 
Registered: May 2007
Location: Vienna, VA
Distribution: RHEL, Fedora, Ubuntu, AIX, Mint, Solaris
Posts: 14

Rep: Reputation: 1
Quote:
Originally Posted by andycyster View Post
One of my RHEL4 servers will not allow me to login remotely using ssh.
I am prompted to enter username then password as normal but then the system replies with "Access denied" and asks for password again.
I have system access via remote console port (HP iLO on a blade server) and have reset the user password and proved login works from console.
I have also enabled remote login of root (in /etc/ssh/sshd_config) exactly the same as another system (which works perfectly) but still no remote login.
I would consider myself still as a linux novice for system administration and apologise if the answer is an obvious one.

Thanks and regards, Andy
anything in /etc/security/access.conf?

can you dump the output of /var/log/secure (from the server?)
 
Old 01-08-2010, 10:42 AM   #3
andycyster
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Will,
Thanks for your response.

/etc/security/access.conf has nothing in it except standard text commented out.
I can't seem to dump the log file but have copied the last few entries below, which I think shows nothing?
Jan 8 16:27:40 ftip_viias sshd[7854]: Recieved signal 15; terminating.
Jan 8 16:27:40 ftip_viias sshd[10770]: Server listening on :: port 22.
Jan 8 16:27:40 ftip_viias sshd[10770]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.

This output was caused by me restaring the sshd process.
Is the last entry significant?
Andy
 
Old 01-08-2010, 10:48 AM   #4
andycyster
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Question

Will,

Just thought I'd compare to another working server and it seems as though on the good server logging of good/bad attempts works in /var/log/secure but on the problem server bad logins are not being logged.
/etc/security/access.conf is identical.

Andy
 
Old 01-08-2010, 11:05 AM   #5
andycyster
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
false alarm - really sorry.
One of the developers has migrated 1 server onto another and changed IP addresses so the box I thought I was logging onto is a different one!!
Everything works as expected now.

Again sorry for this - at least I know I wasn;t going mad on config!
Andy
 
  


Reply



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
remote X logins to solaris & aix launchpadtt Linux - Server 10 11-09-2007 05:01 AM
remote backup from RHEL4 to another RHEL4? dkgoalie Linux - Newbie 2 10-27-2006 11:14 PM
Allow remote root logins using SSH brendanmcdonald Linux - Software 4 03-05-2006 06:03 PM
need some general help with remote logins felixnine Linux - Networking 5 03-01-2006 04:20 PM
Trying to setup remote logins on small network armedguard Linux - Networking 13 12-11-2003 10:26 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 12:51 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