[nzlug] Interface specific rules for SSH user logins under Linux possible?

Raimund Eimann raimund at cs.auckland.ac.nz
Thu Sep 14 10:26:30 NZST 2006


Hi,

is it possible to prohibit logins for certain users which come from a specific 
interface, say, eth1 but permit them to from eth0? It is expressively wanted 
for certain users only, so stopping SSH on eth1 altogether is not an option.

I don't know if that would matter, but the user account data on the machine in 
question are provided by NIS, so the machine itself does not provide any 
local user accounts.

Cheers,
Raimund

Today's wisdom:
A radioactive cat has eighteen half-lives.




More information about the NZLUG mailing list