So you can use the /etc/hosts.allow and /etc/hosts.deny files to restrict access for ssh based on IP Address....
-Subhasis On 4/26/05, S. K. Goel <[EMAIL PROTECTED]> wrote: > > Actually, My normal users work on telnet. But some special users work on > ssh, because there login have a lot of administrative rights. I have > copy their ssh key (/root/.ssh/id_dsa.pub) and append in the > file /root/.ssh/authorized_keys in the server. Now I want these special > users to restrict the usage from there own computer only, For that > purpose earlier I try to use mac-address of there LAN card, But after > study I found that on my server I received the MAC-Address of Routers > only, So I plan to restrict those users to access through telnet, So > that these special users will work from there computers only. > > > [S K Goel] > > > On Mon, 2005-04-25 at 09:10 -0700, Mithun Bhattacharya wrote: > > --- "S. K. Goel" <[EMAIL PROTECTED]> wrote: > > > Actually I want > > > > > > User X, Y and Z to be use telnet but not ssh. > > > while user A, B and C can be use ssh but not telnet > > > > What exactly is the definition of a user on telnet versus a user on ssh > > - maybe that will clarify what needs to be done ? > > > > > > Mithun > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > _______________________________________________ > > ilugd mailinglist -- ilugd@lists.linux-delhi.org > > http://frodo.hserus.net/mailman/listinfo/ilugd > > Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi > http://www.mail-archive.com/ilugd@lists.linux-delhi.org/ > > _______________________________________________ > ilugd mailinglist -- ilugd@lists.linux-delhi.org > http://frodo.hserus.net/mailman/listinfo/ilugd > Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi > http://www.mail-archive.com/ilugd@lists.linux-delhi.org/ > _______________________________________________ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/