It seems a bit odd that while disconnections are logged the corresponding 
connections are not unless we're verbose.

This restores my sense of balance.

Regards,

-- 
Ant


Index: usr.bin/ssh/sshd.c
===================================================================
RCS file: /cvs/src/usr.bin/ssh/sshd.c,v
retrieving revision 1.473
diff -u -p -r1.473 sshd.c
--- usr.bin/ssh/sshd.c  15 Aug 2016 12:27:56 -0000      1.473
+++ usr.bin/ssh/sshd.c  16 Aug 2016 20:47:19 -0000
@@ -1826,7 +1826,7 @@ main(int ac, char **av)
 
        /* Log the connection. */
        laddr = get_local_ipaddr(sock_in);
-       verbose("Connection from %s port %d on %s port %d",
+       logit("Connection from %s port %d on %s port %d",
            remote_ip, remote_port, laddr,  ssh_local_port(ssh));
        free(laddr);
 

Reply via email to