[EMAIL PROTECTED], on August 25. 2000, wrote:
  : 
  : Hi,
  : 
  : I've posted about this once or twice before. I'm wondering if anyone has
  : thoughts as to whether this would be a useful feature, feasibility, etc.
  : 
  : Is it possible to implement a feature in ssh2 so that root logins may
  : be permitted by net/mask pairs, IPs and/or hostnames? I can foresee a number
  : of situations in a variety of environments where something like this would
  : be useful.

In ssh2 you can do this with AllowUsers (except for the netmask).

AllowUsers  [EMAIL PROTECTED][:isdigit:].[:isdigit:]##

allows root (uid 0) in from all IP-addresses matching the above regex,
ie. 192.168.2.102, 192.168.2.24 etc.

The netmask would also be easy to implement. Hmm.

-- 
[[EMAIL PROTECTED]          --  Sami J. Lehtinen  --           [EMAIL PROTECTED]]
[work:+358 9 85657425][gsm:+358 50 5170 258][http://www.iki.fi/~sjl]
[SSH Communications Security Corp               http://www.ssh.com/]

Reply via email to