CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2024/05/16 18:30:24

Modified files:
        usr.bin/ssh    : Makefile Makefile.inc auth-rhosts.c auth.c 
                         auth.h auth2-gss.c auth2-hostbased.c 
                         auth2-kbdint.c auth2-none.c auth2-passwd.c 
                         auth2-pubkey.c auth2.c channels.c kex.c kex.h 
                         kexgexs.c misc.c misc.h monitor.c monitor.h 
                         monitor_wrap.c monitor_wrap.h msg.c packet.c 
                         packet.h pathnames.h servconf.c servconf.h 
                         serverloop.c session.c ssh_api.c sshd.c 
        usr.bin/ssh/sshd: Makefile 
Added files:
        usr.bin/ssh    : sshd-session.c 
        usr.bin/ssh/sshd-session: Makefile 

Log message:
Start the process of splitting sshd into separate binaries. This step
splits sshd into a listener and a session binary. More splits are
planned.

After this changes, the listener binary will validate the configuration,
load the hostkeys, listen on port 22 and manage MaxStartups only. All
session handling will be performed by a new sshd-session binary that the
listener fork+execs.

This reduces the listener process to the minimum necessary and sets us
up for future work on the sshd-session binary.

feedback/ok markus@ deraadt@

NB. if you're updating via source, please restart sshd after installing,
otherwise you run the risk of locking yourself out.

Reply via email to