Hi Lads,
I have some issue with allowing ssh access in user level. Can someone please help to resolve? Thanks in advance. Below is scenario.
I have three servers GW, DB1 and DB2. two users oracle and grid (System has many users but mentioning only two users).
I have configured password less ssh between DB1 and DB2 for users oracle and grid. It is working without any issues.
Now, The question is how can we restrict ssh access from GW to DB1 and DB2 server for only users oracle and grid? All other users should be able to login from server GW without interrupting password less authentication between DB1 and DB2.
I have tried to configure things in /etc/hosts.deny but it not allowing any users and /etc/ssh/sshd_config Allowusers option but no luck. Am i missing anything?
Thanks,
Naveen.