Operating System - HP-UX
1832952 Members
2486 Online
110048 Solutions
New Discussion

Re: To Block the Remote Login.

 
unixguy_1
Regular Advisor

To Block the Remote Login.

Hi friends,

I want to Block the below mentioned ipaddress to use the FTP,Telnet and SSH.

So i planed to edit the "/Var/adm/inetd.sec" file and mentioned that Ipaddress.

But SSH, i edit the "sshd_config" file.
This is will do to block the remotelogin.

Pls any one help me.....

Regards,
Unixguy.
3 REPLIES 3
Johnson Punniyalingam
Honored Contributor

Re: To Block the Remote Login.

Hi Unix Guy,

yes you can also put ssh under inetd.sec file

Check below Thread
==================
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1227284721223+28353475&threadId=113842

inetd.sec file blocking 'unauthorized users' from accessing the system.

>>But SSH, i edit the "sshd_config" file.
This is will do to block the remotelogin.<<

yes will do blocking in 2 ways .. :)

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
rocke robertson
Frequent Advisor

Re: To Block the Remote Login.

Doesn't echo "Not on this system you do" > /etc/nologin

stop people from login in too?
Dennis Handly
Acclaimed Contributor