Re: tcpwrapper has problem



On Mon, 24 Sep 2007, in the Usenet newsgroup comp.os.linux.networking, in
article <fd7cgr$qcp$1@xxxxxxxxxxxxxxxxxxxx>, John wrote:

Under Redhat 9

Red Hat 9 was obsolete at the end of April 2004, and even the very
limited back-port support at fedoralegacy.org ended over 14 months
ago. Find a current (supported) distribution.

I want to let 192.168.0.0/24 to enter to the server through
sshd, and both hosts.allow and hosts.deny filesare set as follows.

hosts.allow
sshd: 192.168.0.0/24

man 5 hosts_access Your syntax is wrong.

host.deny
sshd:ALL

man 5 hosts_access Your syntax is wrong.

However, all computers even with ip 192.168.0.0./24 cannot enter to the
server. Why?

hosts.allow
sshd: 192.168.0.

host.deny
ALL: ALL

Also, as we know, the root account are not allowed to enter to the
server by default.
For sshd, if the root account other than the server are not allowed to
the server, how can we do?

[compton ~]$ whatis su
su (1) - run a shell with substitute user and group IDs
[compton ~]$

Old guy

.



Relevant Pages

  • Re: tcpwrapper has problem
    ... Red Hat 9 was obsolete at the end of April 2004, ... limited back-port support at fedoralegacy.org ended over 14 months ... sshd, and both hosts.allow and hosts.deny filesare set as follows. ... server by default. ...
    (comp.os.linux.networking)
  • Slow sftp transfer speed vs ftp
    ... with Solaris 9) I am transfering at 300 kb/sec. ... on both client and server. ... # The sshd shipped in this release of Solaris has support for major versions ... # Banner to be printed before authentication starts. ...
    (SunManagers)
  • Re: cgroup OOM killer loop causes system to lockup (possible fix included)
    ... Please note, the way I am detecting if the oom_adj bug is present, is by checking if the sshd user processes are -17. ... - oom problem not found ... (booted into new kernel) ... secure shell server, for secure access from remote machines ...
    (Debian-User)
  • Re: ssh_exchange_identification uClinux problem
    ... By default sshd does not let root login into a server. ... Connection closed by foreign host. ... inetd started sshd or logged an error. ...
    (comp.security.ssh)
  • OpenSSH 3.6.1p2 Inoperability Issue
    ... I am running a Linux Debian server at home, ... sshd will not accept connections. ... passwords, even if it is correct, is just says access denied. ... # Kerberos TGT Passing only works with the AFS kaserver ...
    (SSH)