SSHD restrict to particular user

Sampath Nishantha saylan.sampath at gmail.com
Wed Oct 15 00:29:54 UTC 2014


Hi Srinath,

You can use sshd.conf file there is a pera meter AllowUsers, You can add
user list that need to access the server. After editing you have to restart
sshd service.Thats it.

Thanks

On Wed, Oct 15, 2014 at 3:45 AM, nani <t.srinath05 at gmail.com> wrote:

> Hi,
>
> I have a user ( a )  whose direct login must be resticted, but when user is
> ssh from a particular user ( b ) it must allow the access .. for other
> users direct login must be restricted . is there any way
>
> Thanks & Regards,
> Srinath
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
seylan



More information about the redhat-list mailing list