Re: SSHD restrict to particular user
Sampath Nishantha <[email protected]> Wed, 15 Oct 2014 05:59:54 +0530
| Newsgroups | gmane.linux.redhat.general |
|---|---|
| Message-ID | <CAAFHD8U7Lie=UtB69Eh1z-=o7cVhWuFTyeFrpdZOEqf9vLMWWw@mail.gmail.com> |
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 <[email protected]> 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:[email protected]?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- seylan -- redhat-list mailing list unsubscribe mailto:[email protected]?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list