Operating System - Linux
1823470 Members
2317 Online
109660 Solutions
New Discussion юеВ

SSH configuration in RedHat Linux 9

 
Manoj Jose
New Member

SSH configuration in RedHat Linux 9

Dear All,

I was not able to do a ssh to a linux server

from my windows pc using Putty software.

As root i am able to do the ssh.
But as a normal user I am not able to do ssh.
IF i am giving the root permission to a particular user , then by that particular user I am able to do SSH.
Please help
5 REPLIES 5
Vitaly Karasik_1
Honored Contributor

Re: SSH configuration in RedHat Linux 9

Please try to connect to "localhost" from linux itself and send us erro message you see.
Manoj Jose
New Member

Re: SSH configuration in RedHat Linux 9

Dear Vitaly

I done this from linux server

[root@nagios /]# ssh localhost
root@localhost's password:*******
You are connected to local nagios server

Last login: Wed Feb 9 17:04:52 2005 from localhost
[root@nagios root]#exit
[root@nagios /]#

Sergejs Svitnevs
Honored Contributor

Re: SSH configuration in RedHat Linux 9

Do you have /etc/nologin file? This file stops people logging in (except root).

If not, try to connect to localhost using non-root login name and upload us new output ...
ssh -l localhost

Regards,
Sergejs
Manoj Jose
New Member

Re: SSH configuration in RedHat Linux 9

Dear all,

I renamed the /etc/nologin file to

/etc/nologin.old


Problem solved


Very much thanks to all for helping.

Regards

Manoj Jose
Manoj Jose
New Member

Re: SSH configuration in RedHat Linux 9

Thanks for every body