Clarification of error message due to /etc/hosts.allow problems

John Hardin johnh at aproposretail.com
Fri Feb 11 07:45:32 EST 2000


{beware of line wrapping...}


--- openssh-1.2.2-original/sshconnect.c Thu Jan 20 03:44:09 2000
+++ openssh-1.2.2/sshconnect.c  Thu Feb 10 12:44:08 2000
@@ -961,7 +961,7 @@
        /* Read other side\'s version identification. */
        for (i = 0; i < sizeof(buf) - 1; i++) {
                if (read(connection_in, &buf[i], 1) != 1)
-                       fatal("ssh_exchange_identification: read:
%.100s", strerror(errno));
+                       fatal("ssh_exchange_identification: read: %.100s
- check remote system\'s /etc/hosts.allow", strerror(errno));
                if (buf[i] == '\r') {
                        buf[i] = '\n';
                        buf[i + 1] = 0;




--
        John Hardin
        Internal Systems Administrator
        Apropos Retail Management Systems, Inc.
        <johnh at aproposretail.com>





More information about the openssh-unix-dev mailing list