Operating System - HP-UX
1751832 Members
5450 Online
108782 Solutions
New Discussion

deny ssh frm other server for root

 
vijay alur alur
Frequent Advisor

deny ssh frm other server for root

Hello All,

 

Just consider this scenario.

 

I have 10 servers, server1 is the one that has scripts that should be able to access other servers through SSH for data collection. So what i want is i want to only allow server1 should be able to access other 9 servers with root using SSH. And i want to block all the other servers from accessing each other using SSH as root user.

 

How can i achieve this. i am able to get hosts level restrictions but for user level restriction not sure how can i go ahead.

 

Thanks,

Vijay

Lead Engineer, IMS.
iGATE
1 REPLY 1
Hiren N Dave
Valued Contributor

Re: deny ssh frm other server for root

Hi,

Download the HP-UX Secure Shell Getting Started Guide from the below link and follow steps from page 56 "Configuring Host-Based Authentication-->Using User-Specific Configuration"

http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02031523/c02031523.pdf

** If found useful, please assign kudos located at the left hand side.
Thanks.
I am an HP Employee

Was this post useful? - You may click the KUDOS! star to say thank you.