View Single Post

  #4 (permalink)  
Old 06-03-2004
Tim Haynes
 
Posts: n/a
Default Re: How to permit selective SSH access?

Gerard <DontWant@SP_aM.nl> writes:

[snip]
> There's a set of files, called hosts.allow and hosts.deny in the /etc
> directory that govern access from the outside world to services on your
> server.


A minor note: they are config files for tcp-wrappers; if a service is
linked against libwrap, it will appear to use hosts.{allow,deny}, otherwise
they'll have no effect.

Hence making sure sshd is built to use them would be wise:

| zsh/scr7, potato 11:33AM piglet/ % ldd /usr/sbin/sshd
[snip]
| libwrap.so.0 => /lib/libwrap.so.0 (0x4ed71000)

HTH,

~Tim
--
Now the cars come like rivers |piglet@stirfried.vegetable.org.uk
Night comes like madness |http://pig.sty.nu/about.html
Songs come like trains |
Reply With Quote