You could try IP tables. Correct me if this is erroneous: iptables -P INPUT ACCEPT iptabels -F INPUT iptables -A INPUT -s xxx.xxx.xxx.xxx -p tcp --dport 22 -j ACCEPT iptables -A INPUT -p tcp --dport 22 -j DROP
Continue entries like line 3 to your heart's content. Michael Hrivnak -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ralph Blach Sent: Tuesday, February 10, 2004 11:54 PM To: Triangle Linux Users Group discussion list Subject: [TriLUG] how do I limit log on off Id to thre IP address I am running an linux server, and I want to limit a logon id to three ip address. is there any way to do this with sshd? Thank Chip -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
