deny ssh frm other server for root (154 Views)
Reply
Frequent Advisor
vijay alur alur
Posts: 64
Registered: ‎03-15-2009
Message 1 of 2 (154 Views)

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
Please use plain text.
HP Pro
Hiren N Dave
Posts: 98
Registered: ‎04-10-2006
Message 2 of 2 (143 Views)

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.
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation