Hi. On http://openssh.org/manual.html I think there should be authorized_keys(5) known_hosts(5) Can an authorized_keys entry say something like from=192.168.1.32,192.168.1.33 command=/bin/foo ... or do I need to make a separate entry for each IP address? Thanks Dave
On Tue, Jun 16, 2009 at 17:32:59 -0500, Dave Yost wrote:> Hi. > > On > http://openssh.org/manual.html > I think there should be > authorized_keys(5) > known_hosts(5)I agree that an authorized_keys(5) man page would be nice. I was going to file it as an enhancement request and then got distracted.> > Can an authorized_keys entry say something like > > from=192.168.1.32,192.168.1.33 command=/bin/foo ...Your almost have the right syntax: from="192.168.1.32,192.168.1.33",command="/bin/foo" ...> > or do I need to make a separate entry for each IP address? > > Thanks > > Dave-- Iain Morgan
This is still a good idea... and known_hosts, too. Dave At 1:38 PM -0700 2009-06-17, Iain Morgan wrote:>On Tue, Jun 16, 2009 at 17:32:59 -0500, Dave Yost wrote: >> Hi. >> >> On >> http://openssh.org/manual.html >> I think there should be >> authorized_keys(5) >> known_hosts(5) > >I agree that an authorized_keys(5) man page would be nice. I was going >to file it as an enhancement request and then got distracted. > >> >> Can an authorized_keys entry say something like >> >> from=192.168.1.32,192.168.1.33 command=/bin/foo ... > >Your almost have the right syntax: > >from="192.168.1.32,192.168.1.33",command="/bin/foo" ... > >> >> or do I need to make a separate entry for each IP address? >> >> Thanks >> >> Dave > >-- >Iain Morgan