ChangeLog   [plain text]

 - (djm) Syn with OpenBSD OpenSSH-3.0.2
     [session.c sshd.8 version.h]
     Don't allow authorized_keys specified environment variables when 
     UseLogin in active

 - (djm) Fix IPv4 default in ssh-keyscan. Spotted by Dan Astoorian 
   <> Fix from markus@
 - (djm) Release 3.0.1p1

 - (djm) Fix early (and double) free of remote user when using Kerberos. 
   Patch from Simon Wilkinson <>
 - (djm) AIX login{success,failed} changes. Move loginsuccess call to 
   do_authenticated. Call loginfailed for protocol 2 failures > MAX like 
   we do for protocol 1. Reports from Ralf Wenk <>, and others
 - (djm) OpenBSD CVS Sync
   - 2001/11/11 18:47:10
     fix krb5 authorization check. found by <jhawk@MIT.EDU>. from 
     art@, deraadt@ ok
   -  2001/11/12 11:17:07
     enable authorized_keys2 again. tested by fries@
   -  2001/11/13 02:03:57
     enter 3.0.1
 - (djm) Bump RPM package versions

 - (djm) Makefile correctness fix from Mark D. Baushke <>
 - (djm) Cygwin config patch from Corinna Vinschen <>
 - OpenBSD CVS Sync
   - 2001/10/24 08:41:41
     mention remote port in debug message
   - 2001/10/24 08:41:20
     remove unused
   - 2001/10/24 08:51:35
     [clientloop.c ssh.c]
     ignore SIGPIPE early, makes ssh work if agent dies, netbsd-pr via itojun@
   - 2001/10/24 19:57:40
     make ~& (backgrounding) work again for proto v1; add support ~& for v2, too
   - 2001/10/25 21:14:32
     [ssh-keygen.1 ssh-keygen.c]
     better docu for fingerprinting, ok deraadt@
   - 2001/10/29 19:27:15
     hostbased: check for client hostkey before building chost
   - 2001/10/30 20:29:09
   - 2001/11/07 16:03:17
     [packet.c packet.h sshconnect2.c]
     pad using the padding field from the ssh2 packet instead of sending
     extra ignore messages. tested against several other ssh servers.
   - 2001/11/07 21:40:21
     ssh_rsa_sign/verify: SSH_BUG_SIGBLOB not supported
   - 2001/11/07 22:10:28
     [ssh-dss.c ssh-rsa.c]
     missing free and sync dss/rsa code.
   - 2001/11/07 22:12:01
     s/Keepalive/KeepAlive/; from
   - 2001/11/07 22:41:51
     [auth2.c auth-rh-rsa.c]
     unused includes
   - 2001/11/07 22:53:21
     crank c->path to 256 so they can hold a full hostname;
   - 2001/11/08 10:51:08
     don't strdup too much data; from; ok millert.
   - 2001/11/08 17:49:53
     mention setuid root requirements; noted by; ok stevesk@
   - 2001/11/08 20:02:24
     don't print ROOT in CAPS for the authentication messages, i.e.
     	Accepted publickey for ROOT from port 42734 ssh2
     	Accepted publickey for root from port 42734 ssh2
   - 2001/11/09 18:59:23
     [clientloop.c serverloop.c]
     don't memset too much memory, ok millert@
     original patch from via
   - 2001/11/10 13:19:45
     cleanup libwrap support (remove bogus comment, bogus close(), add 
     debug, etc).
   - 2001/11/10 13:22:42
     KNF (unexpand)
   - 2001/11/10 13:37:20
     remove extra debug()
   - 2001/11/11 13:02:31
     make AuthorizedKeysFile2 fallback to AuthorizedKeysFile if 
     AuthorizedKeysFile is specified.
 - (djm) Reorder portable-specific server options so that they come first. 
   This should help reduce diff collisions for new server options (as they
   will appear at the end)

 - (stevesk) auth-pam.c: use do_pam_authenticate(PAM_DISALLOW_NULL_AUTHTOK)
   if permit_empty_passwd == 0 so null password check cannot be bypassed. OpenBSD bug 2168
   - 2001/11/09 19:08:35
     remove extra trailing dot from log message;

 - (tim) [ contrib/caldera/openssh.spec contrib/caldera/sshd.init] Updates 
   from Raymund Will <>
   [acconfig.h] Clean up login checks.
   Problem reported by Jim Knoble <>

 - (djm) Compat define for OpenSSL < 0.9.6 (No OPENSSL_free)

 - (djm) Unsmoke drugs: config files should be noreplace.

 - (djm) Redhat RPM spec: remove noreplace from config files, allow IPv6 
   by default (can force IPv4 using --define "noipv6 1")

 - (tim) [TODO defines.h loginrec.c] Change the references to

 - (djm) Avoid bug in Solaris PAM libs
 - (djm) Disconnect if no tty and PAM reports password expired
 - (djm) Fix for PAM password changes being echoed (from stevesk)
 - (stevesk) Fix compile problem with PAM password change fix
 - (stevesk) README: zlib location is

 - (tim) [] Fixes for ReliantUNIX (don't use libucb)
   Patch by Robert Dahlem <>

 - (bal) Set the correct current time in login_utmp_only().  Patch by
   Wayne Davison <>
 - (tim) [scard/] Fix install: when building outside of source
	 tree and using --src=/full_path/to/openssh
	 Patch by Mark D. Baushke <>

 - (bal) Use VDISABLE if _POSIX_VDISABLE is set in readpassphrase.c.  Patch
   by todd@
 - (tim) [] Give path given in --with-xxx= for pcre,zlib, and
	 tcp-wrappers precedence over system libraries and includes.
	 Report from Dave Dykstra <>

 - (bal) Should be 3.0p1 not 3.0p2.  Corrected version.h already.
 - (tim) ->

 - (bal) Updated version to 3.0p1 in preparing for release.
 - (bal) Added 'PAM_TTY_KLUDGE' to Solaris platform.
 - (tim) [] Fix test for broken dirname. Based on patch from
	 Dave Dykstra <>. Remove un-needed test for zlib.h.
	 [contrib/caldera/openssh.spec, contrib/redhat/openssh.spec,
	 contrib/suse/openssh.spec] Update version to match version.h

 - (djm) Fix fd leak in loginrec.c (ro fd to lastlog was left open).
   Report from Michal Zalewski <>

 - (tim) [] Clean up library testing. Add optional PATH to
	 --with-pcre, --with-zlib, and --with-tcp-wrappers. Based on
	 patch by albert chin (
	 Re-arange AC_CHECK_HEADERS and AC_CHECK_FUNCS for eaiser reading
	 of patches to Replace obsolete AC_STRUCT_ST_BLKSIZE
	 with AC_CHECK_MEMBERS. Add test for broken dirname() on
	 Solaris 2.5.1 by Dan Astoorian <>
	 [acconfig.h aclocal.m4 defines.h] Better socklen_t test.
	 patch by albert chin (
	 [scp.c] Replace obsolete HAVE_ST_BLKSIZE with
	 [] When running make in top level, always do make
	 in openbsd-compat. patch by Dave Dykstra <>

 - (bal) Fixed up init.d symlink issue and piddir stuff.  Patches by
   Zoran Milojevic <> and 

 - (djm) OpenBSD CVS Sync
   - 2001/10/10 22:18:47
     [channels.c channels.h clientloop.c nchan.c serverloop.c]
     [session.c session.h]
     try to keep channels open until an exit-status message is sent.
     don't kill the login shells if the shells stdin/out/err is closed.
     this should now work:
     ssh -2n localhost 'exec > /dev/null 2>&1; sleep 10; exit 5'; echo ?
   - 2001/10/11 13:45:21
     delay detach of session if a channel gets closed but the child is 
     still alive.  however, release pty, since the fd's to the child are 
     already closed.
   - 2001/10/11 15:24:00
     clear select masks if we return before calling select().
 - (djm) "make veryclean" fix from Tom Holroyd <>
 - (djm) Clean some autoconf-2.52 junk when doing "make distclean"
 - (djm) Cleanup sshpty.c a little
 - (bal) First wave of contrib/solaris/ package upgrades.  Still more
   work needs to be done, but it is a 190% better then the stuff we
   had before!
 - (bal) Minor bug fix in contrib/solaris/ .. $etcdir was not
   set right.

 - (djm) OpenBSD CVS Sync
   - 2001/10/04 14:34:16
     call OPENSSL_free() for memory allocated by openssl; from
   - 2001/10/04 15:05:40
     [channels.c serverloop.c]
     comment out bogus conditions for selecting on connection_in
   - 2001/10/04 15:12:37
     client_alive_check cleanup
   - 2001/10/06 00:14:50
     remove unused argument
   - 2001/10/06 00:36:42
     fix typo in error message, sync with do_exec_nopty
   - 2001/10/06 11:18:19
     [sshconnect1.c sshconnect2.c sshconnect.c]
     unify hostkey check error messages, simplify prompt.
   - 2001/10/07 10:29:52
   - 2001/10/07 17:49:40
     [channels.c channels.h]
     avoid possible FD_ISSET overflow for channels established
     during channnel_after_select() (used for dynamic channels).
   - 2001/10/08 11:48:57
     better debug
   - 2001/10/08 16:15:47
     use correct family for -b option
   - 2001/10/08 19:05:05
     [ssh.c sshconnect.c sshconnect.h ssh-keyscan.c]
     some more IPv4or6 cleanup
   - 2001/10/09 10:12:08
     chdir $HOME after krb_afslog(); from
   - 2001/10/09 19:32:49
     stat subsystem command before calling do_exec, and return error to client.
   - 2001/10/09 19:51:18
     close all channels if the connection to the remote host has been closed,
     should fix sshd's hanging with WCHAN==wait
   - 2001/10/09 21:59:41
     [channels.c channels.h serverloop.c session.c session.h]
     simplify session close: no more delayed session_close, no more 
     blocking wait() calls.
 - (bal) removed two unsed headers in openbsd-compat/bsd-misc.c 
 - (bal) seed_init() and seed_rng() required in ssh-keyscan.c

 - (bal) ssh-copy-id corrected permissions for .ssh/ and authorized_keys.
   Prompted by Matthew Vernon <> 

 - (bal) AES works under Cray, no more hack. 

 - (bal) resync.  BSD License applied.

 - (bal) CVS ID fix up in version.h
 - (bal) OpenBSD CVS Sync:
   - 2001/09/27 11:58:16
     mem leak;
   - 2001/09/27 11:59:37
     missing called=1;
   - 2001/09/27 15:31:17
     [auth2.c auth2-chall.c sshconnect1.c]
     typos; from solar
   - 2001/09/27 17:53:24
     don't talk about compile-time options
     ok markus@
   - 2001/09/28 12:07:09
     bzero private key after loading to smartcard; ok markus@
   - 2001/09/28 15:46:29
     bug: read user config first; report
   - 2001/10/01 08:06:28
     skip filenames containing \n; report
   - 2001/10/01 21:38:53
     [channels.c channels.h ssh.c sshd.c]
     remove ugliness; via angelos
   - 2001/10/01 21:51:16
     [readconf.c readconf.h ssh.1 sshconnect.c]
     add NoHostAuthenticationForLocalhost; note that the hostkey is
     now check for localhost, too.
   - 2001/10/02 08:38:50
     return non-zero exit code on error; ok markus@
   - 2001/10/02 22:56:09
     #include "channels.h" for channel_set_af()
   - 2001/10/03 10:01:20
     use realpath() for homedir, too. from

 - (stevesk) loginrec.c: fix type conversion problems exposed when using
   64-bit off_t.
 - (bal) move reading 'config.h' up higher.  Patch by albert chin

 - (djm) OpenBSD CVS sync:
   - 2001/09/28 09:49:31
     Fix segv when smartcard communication error occurs during key load. 
     ok markus@
 - (djm) Update spec files for new x11-askpass

 - (stevesk) session.c: declare do_pre_login() before use

 - (djm) Pull in auth-krb5.c from OpenBSD CVS. NB. it is not currently used.
 - (djm) Sync $sysconfdir/moduli
 - (djm) Add AC_SYS_LARGEFILE configure test
 - (djm) Avoid bad and unportable sprintf usage in compat code

 - (bal) updated ssh.c to mirror minor getopts 'extern int' formating done
   by stevesk@
 - (bal) Removed 'extern int optopt;' since it is dead wood.
 - (bal) Updated all *.specs for 2.9.9p1 and updated version.h

 - (bal) OpenBSD CVS Sync
   - 2001/09/23 11:09:13
     relax permission check for private key files.
   - 2001/09/23 09:58:13
     new rijndael implementation

 - (tim) [scard/] Don't strip the Java binary
 - (stevesk) sun_len, SUN_LEN() configure stuff no longer required
 - (bal) OpenBSD CVS Sync
   - 2001/09/20 00:15:54
     fix ClientAliveCountMax
   - 2001/09/20 13:46:48
     key_read returns now -1 or 1
   - 2001/09/20 13:50:40
     [compat.c compat.h ssh.c]
     bug compat: request a dummy channel for -N (no shell) sessions + 
   - 2001/09/20 20:57:51
     CheckMail removed.  OKed stevesk@

 - (bal) OpenBSD Sync
   - 2001/09/19 10:08:51
     command=xxx applies to subsystem now, too
   - 2001/09/19 13:23:29
     key_read() now returns -1 on type mismatch, too
   - 2001/09/19 19:24:19
     [readconf.c readconf.h scp.c sftp.c ssh.1]
     add ClearAllForwardings ssh option and set it in scp and sftp; ok 
   - 2001/09/19 19:35:30
     use sizeof addr vs. SUN_LEN(addr) for sockaddr_un.  Stevens 
     blesses this and we do it this way elsewhere.  this helps in 
     portable because not all systems have SUN_LEN() and 
     sockaddr_un.sun_len.  ok markus@
   - 2001/09/19 21:04:53
     missing -t in usage
   - 2001/09/19 21:41:57
     don't advertise -V in usage; ok markus@
 - (bal) openbsd-compat/vis.[ch] is dead wood.  Removed.

 - (djm) Configure support for smartcards. Based on Ben's work.
 - (djm) Revert setgroups call, it causes problems on OS-X
 - (djm) Avoid warning on BSDgetopt
 - (djm) More makefile infrastructre for smartcard support, also based
   on Ben's work
 - (djm) Specify --datadir in RPM spec files so smartcard applet gets
    put somewhere sane. Add Ssh.bin to manifest.
 - (djm) Make smartcard support conditional in Redhat RPM spec
 - (bal) LICENCE update.  Has not been done in a while.
 - (stevesk) nchan.c: we use X/Open Sockets on HP-UX now so shutdown(2)
   returns ENOTCONN vs. EINVAL for socket not connected; remove EINVAL
   check. ok Lutz Jaenicke
 - (bal) OpenBSD CVS Sync
   - 2001/09/17 17:57:57
     [scp.1 scp.c sftp.1 sftp.c]
     add -Fssh_config option; ok markus@
   - 2001/09/17 19:27:15
     [kexdh.c kexgex.c key.c key.h ssh-dss.c ssh-keygen.c ssh-rsa.c]
     u_char*/char* cleanup; ok markus
   - 2001/09/17 20:22:14
     never keep a connection to the smartcard open.
     allows ssh-keygen -D U while the agent is running; report from 
   - 2001/09/17 20:38:09
     [sftp.1 sftp.c]
     cleanup and document -1, -s and -S; ok markus@
   - 2001/09/17 20:50:22
     [key.c ssh-keygen.c]
     better error handling if you try to export a bad key to
   - 2001/09/17 20:52:47
     [channels.c channels.h clientloop.c]
     try to fix agent-forwarding-backconnection-bug, as seen on HPUX, 
     for example; with Lutz.Jaenicke@aet.TU-Cottbus.DE,
   - 2001/09/17 21:04:02
     [channels.c serverloop.c]
     don't send fake dummy packets on CR (\r)
     bugreport from via
   - 2001/09/17 21:09:47
     more versions suffering the SSH_BUG_DEBUG bug;
     3.0.x reported by
   - 2001/09/17 23:56:07
     missing -B in usage string

 - (djm) x11-ssh-askpass-1.2.4 in RPM spec, revert workarounds
 - (tim) [includes.h openbsd-compat/getopt.c openbsd-compat/getopt.h]
	 rename getopt() to BSDgetopt() to keep form conflicting with
	 system getopt().
	 [] disable filepriv until I can add
	 missing procpriv calls.

 - (djm) Workaround XFree breakage in RPM spec file
 - (bal) OpenBSD CVS Sync
    - 2001/09/16 14:46:54
      calls krb_afslog() after setting $HOME;; fixes
      pr 1943b

 - (djm) Make do_pre_login static to avoid prototype #ifdef hell
 - (djm) Sync scard/ stuff
 - (djm) Redhat spec file cleanups from Pekka Savola <> and
 - (djm) Redhat initscript config sanity checking from Pekka Savola 
 - (djm) Clear supplemental groups at sshd start to prevent them from 
   being propogated to random PAM modules. Based on patch from Redhat via
   Pekka Savola <>
 - (djm) Make sure rijndael.c picks config.h
 - (djm) Ensure that u_char gets defined

 - (bal) OpenBSD CVS Sync
   - 2001/09/13
     [rijndael.c rijndael.h]
     missing $OpenBSD
   - 2001/09/14
     command=xxx overwrites subsystems, too
   - 2001/09/14

 - (bal) OpenBSD CVS Sync
   - 2001/08/23 11:31:59
     [cipher.c cipher.h]
     switch to the optimised AES reference code from

 - (bal) OpenBSD CVS Sync
   - 2001/08/16 19:18:34
     [servconf.c servconf.h session.c sshd.8]
     deprecate CheckMail. ok markus@
   - 2001/08/16 20:14:57
     [ssh.1 sshd.8]
     document case sensitivity for ssh, sshd and key file
     options and arguments; ok markus@
   - 2001/08/17 18:59:47
     typo in comment
   - 2001/08/21 21:47:42
     [ssh.1 sshd.8]
     minor typos and cleanup
   - 2001/08/22 16:21:21
     hostname not optional; ok markus@
   - 2001/08/22 16:30:02
     no rexd; ok markus@
   - 2001/08/22 17:45:16
     document cipher des for protocol 1; ok deraadt@
   - 2001/08/23 17:59:31
     end request with 0, not NULL
     ok markus@
   - 2001/08/23 18:02:48
     fix usage; ok markus@
   - 2001/08/23 18:08:59
     [ssh-add.1 ssh-keyscan.1]
     minor cleanup
   - 2001/08/27 22:02:13
     fix memory fault if non-existent filename is given to the -f option
     ok markus@
   - 2001/08/28 09:51:26
     don't set DynamicForward unless Host matches
   - 2001/08/28 15:39:48
     [ssh.1 ssh.c]
     allow: ssh -F configfile host
   - 2001/08/29 20:44:03
     clear the malloc'd buffer, otherwise source() will leak malloc'd 
     memory; ok theo@
   - 2001/08/29 23:02:21
     add text about -u0 preventing DNS requests; ok markus@
   - 2001/08/29 23:13:10
     [ssh.1 ssh.c]
     document -D and DynamicForward; ok markus@
   - 2001/08/29 23:27:23
     validate ports for -L/-R; ok markus@
   - 2001/08/29 23:39:40
     [ssh.1 sshd.8]
     additional documentation for GatewayPorts; ok markus@
   - 2001/08/30 15:42:36
     add -D to synopsis line; ok markus@
   - 2001/08/30 16:04:35
     [readconf.c ssh.1]
     validate ports for LocalForward/RemoteForward.
     add host/port alternative syntax for IPv6 (like -L/-R).
     ok markus@
   - 2001/08/30 20:36:34
     [auth-options.c sshd.8]
     validate ports for permitopen key file option. add host/port
     alternative syntax for IPv6. ok markus@
   - 2001/08/30 22:22:32
     do not pass pointers to longjmp; fix from
   - 2001/08/31 11:46:39
     disable kbd-interactive if we don't get SSH2_MSG_USERAUTH_INFO_REQUEST
   - 2001/09/03 20:58:33
     [readconf.c readconf.h ssh.c]
     fatal() for nonexistent -Fssh_config. ok markus@
   - 2001/09/05 06:23:07
     [scp.1 sftp.1 ssh.1 ssh-agent.1 sshd.8 ssh-keygen.1 ssh-keyscan.1]
     avoid first person in manual pages
   - 2001/09/12 18:18:25
     don't forward agent for non third-party copies; ok markus@

 - (bal) Fixed stray code in readconf.c that went in by mistake.
 - OpenBSD CVS Sync
   - 2001/08/07 10:37:46
     [authfd.c authfd.h]
     extended failure messages from
   - 2001/08/08 07:16:58
     when describing the -o option, give -o Protocol=1 as the specific example
     since we are SICK AND TIRED of clueless people who cannot have difficulty
     thinking on their own.
   - 2001/08/08 18:20:15
     permanently_set_uid is a noop if user is not privilegued;
     fixes bug on solaris; from
   - 2001/08/08 21:34:19
     undo last change; does not work for sshd
   - 2001/08/11 22:51:27
     [ssh.c tildexpand.c]
     fix more paths beginning with "//"; <>. 
     ok markus@
   - 2001/08/13 23:38:54
     don't need main prototype (also sync with rcp); ok markus@
   - 2001/08/14 09:23:02
     [sftp.1 sftp-int.c]
   - 2001/08/14 17:54:29
     [scp.1 sftp.1 ssh.1]
     consistent documentation and example of ``-o ssh_option'' for sftp and
     scp; document keyword=argument for ssh.
 - (bal) QNX resync.   OK tim@

 - (stevesk) sshpty.c, cray.[ch]: whitespace, formatting and cleanup
   for some #ifdef _CRAY code; ok
 - (stevesk) sshpty.c: return 0 on error in cray pty code;
 - (stevesk) bsd-cray.c: utmp strings are not C strings
 - (stevesk) bsd-cray.c: more cleanup; ok

 - (djm) Fix detection of long long int support. Based on patch from 
   Michael Stone <>. ok stevesk, tim

 - (bal) Minor correction to inet_ntop.h.  _BSD_RRESVPORT_H should be
   _BSD_INET_NTOP_H.  Pointed out by Mark Miller <> 

 - (tim) [ sshconnect.c openbsd-compat/
	 openbsd-compat/openbsd-compat.h ] Add inet_ntop.c inet_ntop.h back
	 in. Needed for sshconnect.c
	 [sshconnect.c] fix INET6_ADDRSTRLEN for non IPv6 machines
	 [] make tests with missing libraries fail
	 patch by Wendy Palm <>
	 Added openbsd-compat/bsd-cray.h. Selective patches from
	 William L. Jones <> 

 - OpenBSD CVS Sync
   - 2001/07/22 21:32:27
     update comment
   - 2001/07/22 21:32:42
     There is no option "Compress", point to "Compression" instead; ok 
   - 2001/07/22 22:04:19
     [readconf.c ssh.1]
     enable challenge-response auth by default; ok millert@
   - 2001/07/22 22:24:16
     Xr login.conf
   - 2001/07/23 09:06:28
     reorder default sequence of userauth methods to match ssh behaviour:
   - 2001/07/23 12:47:05
     sync PreferredAuthentications
   - 2001/07/23 14:14:18
     Fix typo.
   - 2001/07/23 18:14:58
     [auth2.c auth-rsa.c]
     use %lu; ok markus@
   - 2001/07/23 18:21:46
     no zero size xstrdup() error; ok markus@
   - 2001/07/25 11:59:35
     typo in comment
   - 2001/07/25 14:35:18
     [readconf.c ssh.1 ssh.c sshconnect.c]
     cleanup connect(); connection_attempts 4 -> 1; from
   - 2001/07/26 17:18:22
     [sshd.8 sshd.c]
     add -t option to test configuration file and keys;
     ok markus@
   - 2001/07/26 20:04:27
     [scard.c ssh-keygen.c]
     Inquire Cyberflex class for 0xf0 cards
     change aid to conform to 7816-5
     remove gratuitous fid selects
   - 2001/07/27 14:50:45
     If smart card support is compiled in and a smart card is being used
     for authentication, make it the first method used.  markus@ OK
   - 2001/07/27 17:26:16
     shorten lines
   - 2001/07/28 09:21:15
     cleanup some RSA vs DSA vs SSH1 vs SSH2 notes
   - 2001/07/29 17:02:46
     Clarified -o option in scp.1  OKed by Markus@
   - 2001/07/30 16:06:07
     [scard.c scard.h]
     better errorcodes from sc_*; ok markus@
   - 2001/07/30 16:23:30
     [rijndael.c rijndael.h]
     new BSD-style license:
     Brian Gladman <>:
     >I have updated my code at:
     >with a copyright notice as follows:
     >I am not sure which version of my old code you are using but I am
     >happy for the notice above to be substituted for my existing copyright
     >intent if this meets your purpose.
   - 2001/07/31 08:41:10
     do not complain about missing smartcards. ok markus@
   - 2001/07/31 09:28:44
     [readconf.c readconf.h ssh.1 ssh.c]
     add 'SmartcardDevice' client option to specify which smartcard device 
     is used to access a smartcard used for storing the user's private RSA 
     key. ok markus@.
   - 2001/07/31 12:42:50
     [sftp-int.c sftp-server.c]
     avoid paths beginning with "//"; <>
     ok markus@
   - 2001/07/31 12:53:34
     close smartcard connection if card is missing
   - 2001/08/01 22:03:33
     [authfd.c authfd.h readconf.c readconf.h scard.c scard.h ssh-add.c 
      ssh-agent.c ssh.c]
     use strings instead of ints for smartcard reader ids
   - 2001/08/01 22:16:45
     [ssh.1 sshd.8]
     refer to current ietf drafts for protocol v2
   - 2001/08/01 23:33:09
     allow uploading RSA keys for non-default AUT0 (sha1 over passphrase 
     like sectok).
  - 2001/08/01 23:38:45
     [scard.c ssh.c]
     support finish rsa keys.
     free public keys after login -> call finish -> close smartcard.
   - 2001/08/02 00:10:17
     add -D readerid option (download, i.e. print public RSA key to stdout).
     check for card present when uploading keys.
     use strings instead of ints for smartcard reader ids, too.
   - 2001/08/02 08:58:35
     change -u (upload smartcard key) to -U. ok markus@
   - 2001/08/02 15:06:52
     more verbose usage(). ok markus@
   - 2001/08/02 15:07:23
     document smartcard upload/download. ok markus@
   - 2001/08/02 15:32:10
     add smartcard to usage(). ok markus@
   - 2001/08/02 15:43:57
     [ssh-agent.c ssh.c ssh-keygen.c]
     add /* SMARTCARD */ to #else/#endif. ok markus@
  - 2001/08/02 16:14:05
     [scard.c ssh-agent.c ssh.c ssh-keygen.c]
     clean up some /* SMARTCARD */. ok markus@
   - 2001/08/02 18:37:35
     o) .Sh AUTHOR -> .Sh AUTHORS;
     o) .Sh EXAMPLE -> .Sh EXAMPLES;
     o) Delete .Sh OPTIONS. Text moved to .Sh DESCRIPTION;
     millert@ ok
   - 2001/08/03 10:31:19
     document smartcard options. ok markus@
   - 2001/08/03 10:31:30
     [ssh-add.c ssh-agent.c ssh-keyscan.c]
     improve usage(). ok markus@
   - 2001/08/05 23:18:20
     [ssh-keyscan.1 ssh-keyscan.c]
     ssh 2 support; from
   - 2001/08/05 23:29:58
     make -t dsa work with commercial servers, too
   - 2001/08/06 19:47:05
     use alarm vs. setitimer for portable; ok markus@
 - (bal) ssh-keyscan double -lssh hack due to seed_rng().
 - (bal) Second around of UNICOS patches.  A few other things left. 
   Patches by William L. Jones <> 

 - (djm) Fix interrupted read in entropy gatherer. Spotted by markus@ on
   a fast UltraSPARC.

 - (stevesk) use mysignal() in protocol 1 loop now that the SIGCHLD
   handler has converged.

 - (bal) Added 'install-nokeys' to Makefile to assist package builders.

 - (bal) 4711 not 04711 for ssh binary.

 - (bal) Starting the Unicossmk merger.  File merged TODO,,
 	 myproposal.h,, and openbsd-compat/
	 Added openbsd-compat/bsd-cray.c.  Rest will be merged after
	 approval.  Selective patches from William L. Jones 
 - OpenBSD CVS Sync
   - 2001/07/18 21:10:43
     pr #1946, allow sshd if /dev is readonly
   - 2001/07/18 21:40:40
     chdir("/") from; ok markus@
   - 2001/07/19 00:41:44
     escape chars are below now
   - 2001/07/20 14:46:11
     do not exit() from signal handlers; ok deraadt@
   - 2001/07/20 18:41:51
     "the" command line

 - (tim) [] put inet_aton back in AC_CHECK_FUNCS.
	 report from Mark Miller <>

 - OpenBSD CVS Sync
   - 2001/07/14 15:10:17
     [readpass.c sftp-client.c sftp-common.c sftp-glob.c]
     delete spurious #includes; ok deraadt@ markus@
   - 2001/07/15 16:17:08
     schedule client alive for ssh2 only,
   - 2001/07/15 16:57:21
     -d will not fork; ok markus@
   - 2001/07/15 16:58:29
     typo in usage; ok markus@
   - 2001/07/17 20:48:42
     update maxfd if maxfd is closed; report from
   - 2001/07/17 21:04:58
     [channels.c channels.h clientloop.c nchan.c serverloop.c]
     keep track of both maxfd and the size of the malloc'ed fdsets.
     update maxfd if maxfd gets closed.
   - 2001/07/18 16:45:52
     Missing -o in scp usage()
 - (bal) Cleaned up trailing spaces in ChangeLog.
 - (bal) Allow sshd to switch user context without password for Cygwin.
         Patch by Corinna Vinschen <>
 - (bal) Updated cygwin README and ssh-host-config.  Patch by
 	 Corinna Vinschen <>

 - (bal) Set "BROKEN_GETADDRINFO" for darwin platform.  Reported by
   Josh Larios <>
 - (tim) put openssh/openbsd-compat/inet_aton.[ch] back in.
	 needed by openbsd-compat/fake-getaddrinfo.c

 - (stevesk) change getopt() declaration
 - (stevesk) use ll suffix for long long constant
   in snprintf() test

 - (djm) Enable /etc/nologin check on PAM systems, as some lack the
   pam_nologin module. Report from William Yodlowsky
 - (djm) Revert dirname fix, a better one is on its way.
 - OpenBSD CVS Sync
   - 2001/07/04 22:47:19
     ignore SIGPIPE when debugging, too
   - 2001/07/04 23:13:10
     [scard.c scard.h ssh-agent.c]
     handle card removal more gracefully, add sc_close() to scard.h
   - 2001/07/04 23:39:07
     for smartcards remove both RSA1/2 keys
   - 2001/07/04 23:49:27
     handle mutiple adds of the same smartcard key
   - 2001/07/05 11:43:33
     Directly cast to the right type. Ok markus@
   - 2001/07/05 20:32:47
     statement after label; ok dugsong@
   - 2001/07/08 15:23:38
     fix ``MaxStartups max''; ok markus@
   - 2001/07/09 05:58:47
     Use getopt(3); markus@ ok.
   - 2001/07/09 07:04:53
     [session.c sftp-int.c]
     correct type on last arg to execl();
   - 2001/07/10 21:49:12
     don't panic if fork or pipe fail (just return an empty passwd).
   - 2001/07/11 00:24:53
     make it compilable in all 4 combination of KRB4/KRB5 settings.
     dugsong ok
     XXX isn't it sensitive to the order of -I/usr/include/kerberosIV and
   - 2001/07/11 16:29:59
     sort options string, fix -p, add -k
   - 2001/07/11 18:26:15
     no need to call dirname(pw->pw_dir).
     note that dirname(3) modifies its argument on some systems.
 - (djm) Reorder so clean targets work a little better when
   run directly from
 - (djm) Pull in getopt(3) from OpenBSD libc for the optreset extension.

 - (djm) dirname(3) may modify its argument on glibc and other systems.
   Patch from markus@, spotted by Tom Holroyd <>

 - OpenBSD CVS Sync
   - 2001/06/25 08:25:41
     [channels.c channels.h cipher.c clientloop.c compat.c compat.h
      hostfile.c kex.c kex.h key.c key.h nchan.c packet.c serverloop.c
      session.c session.h sftp-server.c ssh-add.c ssh-agent.c uuencode.h]
     update copyright for 2001
   - 2001/06/25 17:18:27
     sshd(8) will never read the private keys, but ssh(1) does;
   - 2001/06/25 17:54:47
     [auth.c auth.h auth-rsa.c]
     terminate secure_filename checking after checking homedir.  that way
     it works on AFS.  okay markus@
   - 2001/06/25 20:26:37
     [auth2.c sshconnect2.c]
     prototype cleanup; ok markus@
   - 2001/06/26 02:47:07
     allow loading a private RSA key to a cyberflex card.
   - 2001/06/26 04:07:06
     [ssh-agent.1 ssh-agent.c]
     add debug flag
   - 2001/06/26 04:59:59
     [authfd.c authfd.h ssh-add.c]
     initial support for smartcards in the agent
   - 2001/06/26 05:07:43
     update usage
   - 2001/06/26 05:33:34
     more smartcard support.
   - 2001/06/26 05:48:07
     remove unnecessary .Pp between .It;
     millert@ ok
   - 2001/06/26 05:50:11
     new interface for secure_filename()
   - 2001/06/26 06:32:58
     [atomicio.h authfd.h authfile.h auth.h auth-options.h bufaux.h
      buffer.h canohost.h channels.h cipher.h clientloop.h compat.h
      compress.h crc32.h deattack.h dh.h dispatch.h groupaccess.h
      hostfile.h kex.h key.h log.h mac.h match.h misc.h mpaux.h packet.h
      radix.h readconf.h readpass.h rsa.h]
     prototype pedant.  not very creative...
     - () -> (void)
     - no variable names
   - 2001/06/26 06:33:07
     [servconf.h serverloop.h session.h sftp-client.h sftp-common.h
      sftp-glob.h sftp-int.h sshconnect.h ssh-dss.h sshlogin.h sshpty.h
      ssh-rsa.h tildexpand.h uidswap.h uuencode.h xmalloc.h]
     prototype pedant.  not very creative...
     - () -> (void)
     - no variable names
   - 2001/06/26 16:15:25
     [auth1.c auth.h auth-krb4.c auth-passwd.c readconf.c readconf.h
      servconf.c servconf.h session.c sshconnect1.c sshd.c]
     Kerberos v5 support for SSH1, mostly from Assar Westerlund
     <> and Bjorn Gronvall <>. markus@ ok
   - 2001/06/26 17:25:34
     document SSH_ASKPASS; fubob@MIT.EDU
   - 2001/06/26 17:27:25
     [authfd.h authfile.h auth.h auth-options.h bufaux.h buffer.h
      canohost.h channels.h cipher.h clientloop.h compat.h compress.h
      crc32.h deattack.h dh.h dispatch.h groupaccess.c groupaccess.h
      hostfile.h kex.h key.h log.c log.h mac.h misc.c misc.h mpaux.h
      packet.h radix.h readconf.h readpass.h rsa.h servconf.h serverloop.h
      session.h sftp-common.c sftp-common.h sftp-glob.h sftp-int.h
      sshconnect.h ssh-dss.h sshlogin.h sshpty.h ssh-rsa.h sshtty.h
      tildexpand.h uidswap.h uuencode.h xmalloc.h]
     remove comments from .h, since they are cut&paste from the .c files
     and out of sync
   - 2001/06/26 17:41:49
     #include <kafs.h>
   - 2001/06/26 20:14:11
     [key.c key.h ssh.c sshconnect1.c sshconnect2.c]
     add smartcard support to the client, too (now you can use both
     the agent and the client).
   - 2001/06/27 02:12:54
     [serverloop.c serverloop.h session.c session.h]
     quick hack to make ssh2 work again.
   - 2001/06/27 04:48:53
     [auth.c match.c sshd.8]
   - 2001/06/27 05:35:42
     use cyberflex_inq_class to inquire class.
   - 2001/06/27 05:42:25
     [rsa.c rsa.h ssh-agent.c ssh-keygen.c]
   - 2001/06/27 06:26:36
     convert to getopt(3)
   - 2001/06/28 19:57:35
     '\0' terminated data[] is ok; ok markus@
   - 2001/06/29 07:06:34
     new error handling for cyberflex_*
   - 2001/06/29 07:11:01
     initialize early
   - 2001/06/29 18:38:44
     sync function definition with declaration; ok markus@
   - 2001/06/29 18:40:28
     use socklen_t for getsockopt arg #5; ok markus@
   - 2001/06/30 18:08:40
     [channels.c channels.h clientloop.c]
     adress -> address; ok markus@
   - 2001/07/02 13:59:15
     [serverloop.c session.c session.h]
     wait until !session_have_children(); bugreport from
   - 2001/07/02 22:29:20
     do not return NULL, use "" instead.
   - 2001/07/02 22:40:18
     update for sectok.h interface changes.
   - 2001/07/02 22:52:57
     [channels.c channels.h serverloop.c]
     improve cleanup/exit logic in ssh2:
     stop listening to channels, detach channel users (e.g. sessions).
     wait for children (i.e. dying sessions), send exit messages,
     cleanup all channels.
 - (bal) forget a few new files in sync up.
 - (bal) Makefile fix up requires scard.c
 - (stevesk) sync misc.h
 - (stevesk) more sync for session.c
 - (stevesk) sync servconf.h (comments)
 - (tim) [contrib/caldera/openssh.spec] sync with Caldera
 - (tim) [openbsd-compat/dirname.h] Remove ^M causing some compilers to
	 issue warning (line 1: tokens ignored at end of directive line)
 - (tim) [sshconnect1.c] give the compiler something to do for success:
	 if KRB5 and AFS are not defined
	 (ERROR: "sshconnect1.c", line 1274: Syntax error before or at: })

 - (bal) Removed net_aton() since we don't use it any more
 - (bal) Fixed _DISABLE_VPOSIX in readpassphrase.c.
 - (bal) Updated zlib's home.  Thanks to David Howe <>.
 - (stevesk) remove _REENTRANT #define
 - (stevesk) session.c: use u_int for envsize
 - (stevesk) remove cli.[ch]

 - (djm) Sync openbsd-compat with -current libc
 - (djm) Fix from Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE> for my
   broken makefile
 - (bal) Removed strtok_r() and inet_ntop() since they are no longer used.
 - (bal) Remove getusershell() since it's no longer used.

 - (djm) Reintroduce pam_session call for non-pty sessions.
 - (djm) Remove redundant and incorrect test for max auth attempts in
   PAM kbdint code. Based on fix from Matthew Melvin
 - (djm) Rename sysconfdir/primes => sysconfdir/moduli
 - (djm) Oops, forgot make logic for primes=>moduli. Also try to rename
   existing primes->moduli if it exists.
 - (djm) Sync with -current openbsd-compat/readpassphrase.c:
   - 2001/06/27 13:23:30
     typo, spotted by Tom Holroyd <>; ok deraadt@
 - (djm) Turn up warnings if gcc or egcs detected
 - (stevesk) for HP-UX 11.X use X/Open socket interface;
    pulls in modern socket prototypes and eliminates a number of compiler
    warnings.  see xopen_networking(7).
 - (stevesk) fix x11 forwarding from _PATH_XAUTH change
 - (stevesk) use X/Open socket interface for HP-UX 10.X also

 - OpenBSD CVS Sync
   - 2001/06/21 21:08:25
     don't reset forced_command (we allow multiple login shells in
   - 2001/06/22 10:17:51
     [ssh.1 sshd.8 ssh-keyscan.1]
     o) .Sh AUTHOR -> .Sh AUTHORS;
     o) remove unnecessary .Pp;
     o) better -mdoc style;
     o) typo;
     o) sort SEE ALSO;
     aaron@ ok
   - 2001/06/22 21:27:08
     [dh.c pathnames.h]
     use /etc/moduli instead of /etc/primes, okay markus@
   - 2001/06/22 21:28:53
     document /etc/moduli
   - 2001/06/22 21:55:49
     [auth2.c auth-rsa.c pathnames.h ssh.1 sshd.8 sshd_config
     merge authorized_keys2 into authorized_keys.
     authorized_keys2 is used for backward compat.
     (just append authorized_keys2 to authorized_keys).
   - 2001/06/22 21:57:59
     increase linebuffer to deal with larger moduli; use rewind instead of
   - 2001/06/22 22:21:20
     allow long usernames/groups in readdir
   - 2001/06/22 23:35:21
     don't overwrite argv (fixes ssh user@host in 'ps'), report by ericj@
   - 2001/06/23 00:16:16
     slightly better care
   - 2001/06/23 00:20:57
     [auth2.c auth.c auth.h auth-rh-rsa.c]
     *known_hosts2 is obsolete for hostbased authentication and
     only used for backward compat. merge ssh1/2 hostkey check
     and move it to auth.c
   - 2001/06/23 02:33:05
     [sftp.1 sftp-server.8 ssh-keygen.1]
     join .%A entries; most by
   - 2001/06/23 02:34:33
     [kexdh.c kexgex.c kex.h pathnames.h readconf.c servconf.h ssh.1
      sshconnect1.c sshconnect2.c sshconnect.c sshconnect.h sshd.8]
     get rid of known_hosts2, use it for hostkey lookup, but do not
   - 2001/06/23 03:03:59
   - 2001/06/23 03:04:42
     [auth2.c auth-rh-rsa.c]
     restore correct ignore_user_known_hosts logic.
   - 2001/06/23 05:26:02
     handle sigature of size 0 (some broken clients send this).
   - 2001/06/23 05:57:09
     [sftp.1 sftp-server.8 ssh-keygen.1]
     ok, tmac is now fixed
   - 2001/06/23 06:41:10
     try to decode ssh-3.0.0 private rsa keys
     (allow migration to openssh, not vice versa), #910
   - 2001/06/23 15:12:20
     [auth1.c auth2.c auth2-chall.c authfd.c authfile.c auth-rhosts.c
      canohost.c channels.c cipher.c clientloop.c deattack.c dh.c
      hostfile.c kex.c kexdh.c kexgex.c key.c nchan.c packet.c radix.c
      readpass.c scp.c servconf.c serverloop.c session.c sftp.c
      sftp-client.c sftp-glob.c sftp-int.c sftp-server.c ssh-add.c
      ssh-agent.c ssh.c sshconnect1.c sshconnect2.c sshconnect.c sshd.c
      ssh-keygen.c ssh-keyscan.c]
     more strict prototypes.  raise warning level in
     markus ok'ed
     TODO; cleanup headers
   - 2001/06/23 17:05:22
     fix import for (broken?) private keys
     (i tested > 1000 RSA keys)
   - 2001/06/23 17:48:18
     [sftp.1 ssh.1 sshd.8 ssh-keyscan.1]
     kill whitespace at EOL.
   - 2001/06/23 19:12:43
     pidfile/sigterm race;
   - 2001/06/23 22:37:46
     consistent with ssh2: skip key if empty passphrase is entered,
     retry num_of_passwd_prompt times if passphrase is wrong. ok fgsch@
   - 2001/06/24 05:25:10
     [auth-options.c match.c match.h]
     move ip+hostname check to match.c
   - 2001/06/24 05:35:33
     [readpass.c readpass.h ssh-add.c sshconnect2.c ssh-keygen.c]
     switch to readpassphrase(3)
     2.7/8-stable needs readpassphrase.[ch] from libc
   - 2001/06/24 05:47:13
     oops, missing format string
   - 2001/06/24 17:18:31
     passing modes works fine: debug2->3
 - (djm) -Wall fix for session.c
 - (djm) Bring in readpassphrase() from OpenBSD libc. Compiles OK on Linux and

 - (stevesk) handle systems without pw_expire and pw_change.

 - OpenBSD CVS Sync
   - 2001/06/16 08:49:38
   - 2001/06/16 08:50:39
     bad //-style comment; thx to
   - 2001/06/16 08:57:35
     no stdio or exit() in signal handlers.
   - 2001/06/16 08:58:34
     copy pw_expire and pw_change, too.
   - 2001/06/19 12:34:09
     cleanup forced command handling, from
   - 2001/06/19 14:09:45
     [session.c sshd.8]
     disable x11-fwd if use_login is enabled; from
   - 2001/06/19 15:40:45
     allocate and free at the same level.
   - 2001/06/20 13:56:39
     [channels.c channels.h clientloop.c packet.c serverloop.c]
     move from channel_stop_listening to channel_free_all,
     call channel_free_all before calling waitpid() in serverloop.
     fixes the utmp handling; report from Lutz.Jaenicke@aet.TU-Cottbus.DE

 - (stevesk) don't set SA_RESTART and set SIGCHLD to SIG_DFL
   around grantpt().
 - (stevesk) update TODO: STREAMS pty systems don't call vhangup() now

 - OpenBSD CVS Sync
   - 2001/06/13 09:10:31
     typo, use pid not s->pid,

 - OpenBSD CVS Sync
   - 2001/06/12 10:58:29
     merge session_free into session_close()
     merge pty_cleanup_proc into session_pty_cleanup()
   - 2001/06/12 16:10:38
     merge ssh1/ssh2 tty msg parse and alloc code
   - 2001/06/12 16:11:26
     do not log() packet_set_maxsize
   - 2001/06/12 21:21:29
     remove xauth-cookie-in-tmp handling. use default $XAUTHORITY, since
     we do already trust $HOME/.ssh
     you can use .ssh/sshrc and .ssh/environment if you want to customize
     the location of the xauth cookies
   - 2001/06/12 21:30:57

 - scp.c ID update (upstream synced vfsprintf() from us)
 - OpenBSD CVS Sync
  - 2001/06/10 11:29:20
     we support rekeying
     protocol errors are fatal.
   - 2001/06/11 10:18:24
     reset pointer to NULL after xfree(); report from
   - 2001/06/11 16:04:38

 - (bal) NeXT/MacOS X lack libgen.h and dirname().  Patch by Mark Miller
 - (bal) Handle broken krb4 issues on Solaris with multiple defined u_*_t
   types.  Patch by Jan IVEN <>
 - (bal) Fixed so that 'configure; make install' works.

 - (bal) Missed two files in major resync.  auth-bsdauth.c and auth-skey.c

 - OpenBSD CVS Sync
   - 2001/05/30 12:55:13
     [auth-options.c auth2.c channels.c channels.h clientloop.c nchan.c
      packet.c serverloop.c session.c ssh.c ssh1.h]
     channel layer cleanup: merge header files and split .c files
   - 2001/05/30 15:20:10
     merge functions, simplify.
   - 2001/05/31 10:30:17
     [auth-options.c auth2.c channels.c channels.h clientloop.c nchan.c
      packet.c serverloop.c session.c ssh.c]
     undo the .c file split, just merge the header and keep the cvs
 - (bal) Channels.c and Channels.h -- "Merge Functions, simplify" (draged
   out of ssh Attic)
 - (bal) Ooops.. nchan.c (and remove nchan.h) resync from OpenBSD ssh
 - OpenBSD CVS Sync
   - 2001/05/31 13:08:04
     group options and add some more comments
   - 2001/06/03 14:55:39
     [channels.c channels.h session.c]
     use fatal_register_cleanup instead of atexit, sync with x11 authdir
   - 2001/06/03 19:36:44
     1-2 bits of entrophy per character (not per word), ok stevesk@
   - 2001/06/03 19:38:42
     pass -v to ssh; from
   - 2001/06/03 20:06:11
     the challenge response device decides how to handle non-existing
     -> fake challenges for skey and cryptocard
   - 2001/06/04 21:59:43
     [channels.c channels.h session.c]
     switch uid when cleaning up tmp files and sockets; reported by on bugtraq
   - 2001/06/04 23:07:21
     [clientloop.c serverloop.c sshd.c]
     set flags in the signal handlers, do real work in the main loop,
     ok provos@
   - 2001/06/04 23:16:16
     merge ssh1/2 x11-fwd setup, create listener after tmp-dir
   - 2001/06/05 05:05:39
     [ssh-keyscan.1 ssh-keyscan.c]
     License clarification from David Mazieres, ok deraadt@
   - 2001/06/05 10:24:32
     don't delete the auth socket in channel_stop_listening()
     auth_sock_cleanup_proc() will take care of this.
   - 2001/06/05 16:46:19
     let session_close() delete the pty.  deny x11fwd if xauthfile is set.
   - 2001/06/06 23:13:54
     [ssh-dss.c ssh-rsa.c]
     cleanup, remove old code
   - 2001/06/06 23:19:35
     remove debug message;
   - 2001/06/07 19:57:53
     style is used for bsdauth.
     disconnect on user/service change (ietf-drafts)
   - 2001/06/07 20:23:05
     [authfd.c authfile.c channels.c kexdh.c kexgex.c packet.c ssh.c
      sshconnect.c sshconnect1.c]
     use xxx_put_cstring()
   - 2001/06/07 22:25:02
     don't overwrite errno
     delay deletion of the xauth cookie
   - 2001/06/08 15:25:40
     [includes.h pathnames.h readconf.c servconf.c]
     move the path for xauth to pathnames.h
 - (bal) fix for Tru64 (forgeting to reset $LIB)
 - (bal) ANSIify strmode()
 - (bal) --with-catman should be --with-mantype patch by Dave
   Dykstra <>

 - OpenBSD CVS Sync
   - 2001/05/17 21:34:15
     no spaces in PreferredAuthentications;
   - 2001/05/18 14:13:29
     [auth-chall.c auth.h auth1.c auth2-chall.c auth2.c readconf.c
      readconf.h servconf.c servconf.h sshconnect1.c sshconnect2.c sshd.c]
     improved kbd-interactive support. work by and me
   - 2001/05/19 00:36:40
     Disable X11 forwarding if xauth binary is not found. Patch from Nalin
     Dahyabhai <>; ok markus@
   - 2001/05/19 16:05:41
     ftruncate() instead of open()+O_TRUNC like rcp.c does
     allows scp /path/to/file localhost:/path/to/file
   - 2001/05/19 16:08:43
     sort options;
   - 2001/05/19 16:32:16
     [ssh.1 sshconnect2.c]
     change preferredauthentication order to
     document that hostbased defaults to no, document order
   - 2001/05/19 16:46:19
     [ssh.1 sshd.8]
     document MACs defaults with .Dq
   - 2001/05/19 19:43:57
     [misc.c misc.h servconf.c sshd.8 sshd.c]
     sshd command-line arguments and configuration file options that
     specify time may be expressed using a sequence of the form:
     time[qualifier], where time is a positive integer value and qualifier
     is one of the following:
         600     600 seconds (10 minutes)
         10m     10 minutes
         1h30m   1 hour 30 minutes (90 minutes)
     ok markus@
   - 2001/05/19 19:57:09
     typo in error message
   - 2001/05/20 17:20:36
     [auth-rsa.c auth.c auth.h auth2.c servconf.c servconf.h sshd.8
     configurable authorized_keys{,2} location; originally from peter@;
     ok djm@
   - 2001/05/24 11:12:42
     fix comment; from jakob@
   - 2001/05/24 18:57:53
     [clientloop.c readconf.c ssh.c ssh.h]
     don't perform escape processing when ``EscapeChar none''; ok markus@
   - 2001/05/25 14:37:32
     use -P for -e and -y, too.
   - 2001/05/28 08:04:39
     fix usage()
   - 2001/05/28 10:08:55
     key_load_private: set comment to filename for PEM keys
   - 2001/05/28 22:51:11
     [cipher.c cipher.h]
     simpler 3des for ssh1
   - 2001/05/28 23:14:49
     [channels.c channels.h nchan.c]
     undo broken channel fix and try a different one. there
     should be still some select errors...
   - 2001/05/28 23:25:24
     cleanup, typo
   - 2001/05/28 23:58:35
     [packet.c packet.h sshconnect.c sshd.c]
     remove some lines, simplify.
   - 2001/05/29 12:31:27

 - (tim) [] add setvbuf test needed for sftp-int.c
   Patch by Corinna Vinschen <>

 - OpenBSD CVS Sync
   - 2001/05/12 19:53:13
     readlink does not NULL-terminate;
   - 2001/05/15 22:04:01
     X11 forwarding details improved
   - 2001/05/16 20:51:57
     return comments for private pem files, too; report from
   - 2001/05/16 21:53:53
     check for open sessions before we call select(); fixes the x11 client
     bug reported by
   - 2001/05/16 22:09:21
     [channels.c nchan.c]
     more select() error fixes (don't set rfd/wfd to -1).
 - (bal) Enabled USE_PIPES for Cygwin on Corinna Vinschen <>
 - (bal) Corrected on_exit() emulation via atexit().

 - OpenBSD CVS Sync
   - 2001/05/11 14:59:56
     [clientloop.c misc.c misc.h]
     add unset_nonblock for stdout/err flushing in client_loop().
 - (bal) Patch to partial sync up contrib/solaris/ packaging software.
   Patch by pete <>

 - OpenBSD CVS Sync
   - 2001/05/09 22:51:57
     fix -R for protocol 2, noticed by
     bug was introduced with experimental dynamic forwarding.
   - 2001/05/09 23:01:31
     fix prototype;

  - OpenBSD CVS Sync
   - 2001/05/06 21:23:31
     cli_read() fails to catch SIGINT + overflow; from
   - 2001/05/08 19:17:31
     [channels.c serverloop.c clientloop.c]
     adds correct error reporting to async connect()s
     fixes the server-discards-data-before-connected-bug found by
   - 2001/05/08 19:45:25
     [misc.c misc.h scp.c sftp.c]
     Use addargs() in sftp plus some clean up of addargs().  OK Markus
   - 2001/05/06 21:45:14
     use atomicio for flushing stdout/stderr bufs. thanks to
   - 2001/05/08 22:48:07
     no need for xmalloc.h, thanks to espie@
 - (bal) UseLogin patch for Solaris/UNICOS.  Patch by Wayne Davison
 - (bal) ./configure support to disable SIA on OSF1.  Patch by
   Chris Adams <>
 - (bal) Updates from the Sony NEWS-OS platform by NAKAJI Hiroyuki

 - (bal) Fixed configure test for USE_SIA.

 - (djm) Update config.guess and config.sub with latest versions (from to allow configure on ia64-hpux.
   Suggested by Jason Mader <>
 - (bal) White Space and #ifdef sync with OpenBSD
 - (bal) Add 'seed_rng()' to ssh-add.c
 - (bal) CVS ID updates for readpass.c, readpass.h, cli.c, and cli.h
 - OpenBSD CVS Sync
   - 2001/05/05 13:42:52
     [sftp.1 ssh-add.1 ssh-keygen.1]
     typos, grammar

 - OpenBSD CVS Sync
   - 2001/05/04 14:21:56
     [ssh.1 sshd.8]
   - 2001/05/04 14:34:34
     channel_new() reallocs channels[], we cannot use Channel *c after
     calling channel_new(), XXX fix this in the future...
   - 2001/05/04 23:47:34
     [channels.c channels.h clientloop.c nchan.c nchan.h serverloop.c ssh.c]
     move to Channel **channels (instead of Channel *channels), fixes realloc
     problems.  channel_new now returns a Channel *, favour Channel * over
     channel id.  remove old channel_allocate interface.

 - OpenBSD CVS Sync
   - 2001/05/03 15:07:39
     typo in debug() string
   - 2001/05/03 15:45:15
     exec shell -c /bin/sh .ssh/sshrc, from
   - 2001/05/03 21:43:01
     remove "\n" from fatal()
   - 2001/05/03 23:09:53
     [misc.c misc.h scp.c sftp.c]
     Move colon() and cleanhost() to misc.c where I should I have put it in
     the first place
 - (bal) Updated Cygwin README by Corinna Vinschen <>
 - (bal) Avoid socket file security issues in ssh-agent for Cygwin.
   Patch by Egor Duda <>

 - OpenBSD CVS Sync
   - 2001/05/02 16:41:20
     fix prompt for ssh-add.

 - OpenBSD CVS Sync
   - 2001/05/02 01:25:39
     Put the 'const' back into ssh_askpass() function.  Pointed out
     by Mark Miller <>.  OK Markus

 - OpenBSD CVS Sync
   - 2001/04/30 11:18:52
     [readconf.c readconf.h ssh.1 ssh.c sshconnect.c]
     implement 'ssh -b bind_address' like 'telnet -b'
   - 2001/04/30 15:50:46
     [compat.c compat.h kex.c]
     allow interop with weaker key generation used by ssh-2.0.x, x < 10
   - 2001/04/30 16:02:49
     ssh-2.0.10 has the weak-key-bug, too.
 - (tim) [contrib/caldera/openssh.spec] add Requires line for Caldera 3.1

 - OpenBSD CVS Sync
   - 2001/04/29 18:32:52
     fix whitespace
   - 2001/04/29 19:16:52
     [channels.c clientloop.c compat.c compat.h serverloop.c]
     more bug-compat; from
 - (tim) New version of from Mark D. Roth <>
 - (djm) Add .cvsignore files, suggested by Wayne Davison <>

 - (bal) Updated INSTALL.  PCRE moved to a new place.
 - (djm) Release OpenSSH-2.9p1

 - (bal) Fixed uidswap.c so it should work on non-posix complient systems.
   patch based on 2.5.2 version by djm.
 - (bal) Build manpages and config files once unless changed.  Patch by
   Carson Gaspar <>
 - (bal) arpa/nameser.h does not exist on Cygwin.  Patch by Corinna
   Vinschen <>
 - (bal) Add /etc/sysconfig/sshd support to redhat's sshd.init. Patch by
   Pekka Savola <>
 - (bal) Cygwin lacks setgroups() API.  Patch by Corinna Vinschen
 - (bal) version.h synced, RPM specs updated for 2.9
 - (tim) update contrib/caldera files with what Caldera is using.

 - OpenBSD CVS Sync
   - 2001/04/23 21:57:07
     [ssh-keygen.1 ssh-keygen.c]
     allow public key for -e, too
   - 2001/04/23 22:14:13
     remove debug
 - (bal) Whitespace resync w/ OpenBSD for uidswap.c
 - (djm) Add new server configuration directive 'PAMAuthenticationViaKbdInt'
   (default: off), implies KbdInteractiveAuthentication. Suggestion from
 - (djm) Include crypt.h if available in auth-passwd.c
 - 2001/04/25 21:38:01 []
   man page detection fixes for SCO

 - OpenBSD CVS Sync
   - 2001/04/22 23:58:36
     [ssh-keygen.1 ssh.1 sshd.8]
     document hostbased and other cleanup
 - (stevesk) start_pam() doesn't use DNS now for sshd -u0.
 - (stevesk) auth-pam.c: use PERMIT_NO_PASSWD
 - (bal) sys/queue.h is bogus for NCR platform.  Patch by Daniel Carroll
 - (bal) Fixed contrib/  Patch by

 - OpenBSD CVS Sync
   - 2001/04/20 16:32:22
     set non-privileged gid before uid; tholo@ and deraadt@
   - 2001/04/21 00:55:57
   - 2001/04/22 08:13:30
     typos spotted by stevesk@; ok deraadt@
   - 2001/04/22 12:34:05
     scp > 2GB;; ok deraadt@, djm@
   - 2001/04/22 13:25:37
     [ssh-keygen.1 ssh-keygen.c]
     rename arguments -x -> -e (export key), -X -> -i (import key)
     xref draft-ietf-secsh-publickeyfile-01.txt
   - 2001/04/22 13:32:27
     [sftp-server.8 sftp.1 ssh.1 sshd.8]
     xref draft-ietf-secsh-*
   - 2001/04/22 13:41:02
     [ssh-keygen.1 ssh-keygen.c]
     style, noted by stevesk; sort flags in usage

 - OpenBSD CVS Sync
   - 2001/04/20 07:17:51
     [clientloop.c ssh.1]
     Split out and improve escape character documentation, mention ~R in
     ~? help text; ok markus@
 - Update RPM spec files for CVS version.h
 - (stevesk) set the default PAM service name to __progname instead
   of the hard-coded value "sshd"; from Mark D. Roth <>
 - (stevesk) document PAM service name change in INSTALL
 - 2001/04/21 14:25:57 []
   fix perl test, fix nroff test, fix Makefile to build outside source tree

 - OpenBSD CVS Sync
   - 2001/04/18 16:21:05
     Fix typo reported in PR/1779
   - 2001/04/18 21:57:42
     [readpass.c ssh-add.c]
     call askpass from ssh, too, based on work by, ok deraadt
   - 2001/04/18 22:03:45
     [auth2.c sshconnect2.c]
     use FDQN with trailing dot in the hostbased auth packets, ok deraadt@
   - 2001/04/18 22:48:26
     no longer const
   - 2001/04/18 23:43:26
     [auth2.c compat.c sshconnect2.c]
     more ssh v2 hostbased-auth interop: >= 2.1.0 works now
     (however the 2.1.0 server seems to work only if debug is enabled...)
   - 2001/04/18 23:44:51
     error->debug; noted by fries@
   - 2001/04/19 00:05:11
     use local variable, no function call needed.
     (btw, hostbased works now with >= 2.0.13)
  - (bal) Put scp-common.h back into scp.c (it exists in the upstream
    tree) pointed out by Tom Holroyd <>

  - OpenBSD CVS Sync
   - 2001/04/17 19:34:25
     move auth_approval to do_authenticated().
     do_child(): nuke hostkeys from memory
     don't source .ssh/rc for subsystems.
   - 2001/04/18 14:15:00
  - (bal) renabled 'catman-do:' and fixed it.  So now catman pages should
    be working again.
  - (bal) Makfile day... Cleaned up multiple mantype support (Patch by
    Mark D. Roth <>), and fixed PIDDIR support.

  - (bal) Add perl5 check for HP/UX, Removed GNUness from
    and temporary commented out 'catman-do:' since it is broken.  Patches
    for the first two by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
  - OpenBSD CVS Sync
   - 2001/04/16 08:26:04
     better safe than sorry in later mods;
   - 2001/04/17 08:14:01
     check for key!=NULL, thanks to costa
   - 2001/04/17 09:52:48
     handle EINTR/EAGAIN on read; ok deraadt@
   - 2001/04/17 10:53:26
     [key.c key.h readconf.c readconf.h ssh.1 sshconnect2.c]
     add HostKeyAlgorithms; based on patch from; ok provos@
   - 2001/04/17 12:55:04
     [channels.c ssh.c]
     undo socks5 and https support since they are not really used and
     only bloat ssh.  remove -D from usage(), since '-D' is experimental.

  - OpenBSD CVS Sync
   - 2001/04/15 01:35:22
     fix comments
   - 2001/04/15 08:43:47
     [dh.c sftp-glob.c sftp-glob.h sftp-int.c sshconnect2.c sshd.c]
     some unused variable and typos; from
   - 2001/04/15 16:58:03
     [authfile.c ssh-keygen.c sshd.c]
     don't use errno for key_{load,save}_private; discussion w/ solar@openwall
   - 2001/04/15 17:16:00
     set stdin/out/err to nonblocking in SSH proto 1, too. suggested by ho@
     should fix some of the blocking problems for rsync over SSH-1
   - 2001/04/15 19:41:21
     some ClientAlive cleanup; ok markus@
   - 2001/04/15 21:28:35
     [readconf.c servconf.c]
     use fatal() or error() vs. fprintf(); ok markus@
 - (djm) Convert mandoc manpages to man automatically. Patch from Mark D.
   Roth <>
 - (bal) CVS ID fix up and slight manpage fix from OpenBSD tree.
  - (djm) OpenBSD CVS Sync
   - 2001/04/16 02:31:44
     [scp.c sftp.c]
     IPv6 support for sftp (which I bungled in my last patch) which is
     borrowed from scp.c.  Thanks to Markus@ for pointing it out.
   - 2001/04/16 08:05:34
     xrealloc dealing with ptr == nULL; mouring
   - 2001/04/16 08:19:31
     Split motd and hushlogin checks into seperate functions, helps for
     portable. From Chris Adams <>; ok markus@
 - Fix OSF SIA support displaying too much information for quiet
   logins and logins where access was denied by SIA. Patch from Chris Adams

 - OpenBSD CVS Sync
   - 2001/04/14 04:31:01
     do not double free
   - 2001/04/14 16:17:14
     remove some channels that are not appropriate for keepalive.
   - 2001/04/14 16:27:57
     use clear_pass instead of xfree()
   - 2001/04/14 16:33:20
     [clientloop.c packet.h session.c ssh.c ttymodes.c ttymodes.h]
     protocol 2 tty modes support; ok markus@
   - 2001/04/14 17:04:42
     'T' handling rcp/scp sync; ok markus@
 - Missed sshtty.[ch] in Sync.

 - Sync with OpenBSD glob.c, strlcat.c and vis.c changes
 - Cygwin sftp/sftp-server binary mode patch from Corinna Vinschen
 - OpenBSD CVS Sync
   - 2001/04/13 22:46:54
     [channels.c channels.h servconf.c servconf.h serverloop.c sshd.8]
     Add options ClientAliveInterval and ClientAliveCountMax to sshd.
     This gives the ability to do a "keepalive" via the encrypted channel
     which can't be spoofed (unlike TCP keepalives). Useful for when you want
     to use ssh connections to authenticate people for something, and know
     relatively quickly when they are no longer authenticated. Disabled
     by default (of course). ok markus@

 - OpenBSD CVS Sync
   - 2001/04/12 14:29:09
     show debug output during option processing, report from
   - 2001/04/12 19:15:26
     [auth-rhosts.c auth.h auth2.c buffer.c canohost.c canohost.h
      compat.c compat.h hostfile.c pathnames.h readconf.c readconf.h
      servconf.c servconf.h ssh.c sshconnect.c sshconnect.h sshconnect1.c
      sshconnect2.c sshd_config]
     implement HostbasedAuthentication (= RhostRSAAuthentication for ssh v2)
     similar to RhostRSAAuthentication unless you enable (the experimental)
     HostbasedUsesNameFromPacketOnly option.  please test. :)
   - 2001/04/12 19:39:27
   - 2001/04/12 20:09:38
     [misc.c misc.h readconf.c servconf.c ssh.c sshd.c]
     robust port validation; ok markus@ jakob@
   - 2001/04/12 23:17:54
     [sftp-int.c sftp-int.h sftp.1 sftp.c]
     Add support for:
        sftp [user@]host[:file [file]]  - Fetch remote file(s)
        sftp [user@]host[:dir[/]]       - Start in remote dir/
     OK deraadt@
   - 2001/04/13 01:26:17
     missing \n in error message
 - (bal) Added openbsd-compat/inet_ntop.[ch] since HP/UX (and others)
   lack it.

 - OpenBSD CVS Sync
   - 2001/04/10 07:46:58
     cleanup socks4 handling
   - 2001/04/10 09:13:22
     [ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 sshd.8]
     document id_rsa{.pub,}.  markus ok
   - 2001/04/10 12:15:23
     debug cleanup
   - 2001/04/11 07:06:22
     'mget' and 'mput' aliases; ok markus@
   - 2001/04/11 10:59:01
     use strtol() for ports, thanks jakob@
   - 2001/04/11 13:56:13
     [channels.c ssh.c]
     https-connect and socks5 support. i feel so bad.
   - 2001/04/11 16:25:30
     [sshd.8 sshd.c]
     implement the -e option into sshd:
      -e      When this option is specified, sshd will send the output to the
              standard error instead of the system log.
     markus@ OK.

 - OpenBSD CVS Sync
   - 2001/04/08 20:52:55
     do not modify an actual argv[] entry
   - 2001/04/08 23:28:27
   - 2001/04/09 00:42:05
   - 2001/04/09 15:12:23
     passphrase caching: ssh-add tries last passphrase, clears passphrase if
     not successful and after last try.
     based on discussions with espie@, jakob@, ... and code from jakob@ and
   - 2001/04/09 15:19:49
     ssh-add retries the last passphrase...
   - 2001/04/09 18:00:15
     ListenAddress mandoc from aaron@

 - (stevesk) use setresgid() for setegid() if needed
 - (stevesk) typo
 - OpenBSD CVS Sync
   - 2001/04/08 16:01:36
     document ListenAddress addr:port
   - 2001/04/08 13:03:00
     init pointers with NULL, thanks to
   - 2001/04/08 11:27:33
     leave_raw_mode if ssh2 "session" is closed
   - 2001/04/06 21:00:17
     [auth-rh-rsa.c auth-rhosts.c auth-rsa.c auth2.c channels.c session.c
      ssh.c sshconnect.c sshconnect.h uidswap.c uidswap.h]
     do gid/groups-swap in addition to uid-swap, should help if /home/group
     is chmod 750 + chgrp grp /home/group/, work be deraadt and me, thanks
     to is comments.  we had many requests for this.
   - 2001/04/07 08:55:18
     [buffer.c channels.c channels.h readconf.c ssh.c]
     allow the ssh client act as a SOCKS4 proxy (dynamic local
     portforwarding).  work by Dan Kaminsky <> and me.
     thanks to Dan for this great patch: use 'ssh -D 1080 host' and make
     netscape use localhost:1080 as a socks proxy.
   - 2001/04/08 11:24:33

 - OpenBSD CVS Sync
   - 2001/04/06 22:12:47
     unused; typo in comment
   - 2001/04/06 22:25:25
     in addition to:
     ListenAddress host|ipv4_addr|ipv6_addr
     ListenAddress [host|ipv4_addr|ipv6_addr]:port
     ListenAddress host|ipv4_addr:port
     sshd.8 updates coming.  ok markus@

 - (bal) CVS ID Resync of version.h
 - OpenBSD CVS Sync
   - 2001/04/05 23:39:20
     keep the ssh session even if there is no active channel.
     this is more in line with the protocol spec and makes
        ssh -N -L 1234:server:110 host
     more useful.
     based on discussion with <> long time ago
     and recent mail from <>
   - 2001/04/06 16:46:59
     remove trailing / from source paths; fixes pr#1756

 - (stevesk) logintest.c: fix for systems without __progname
 - (stevesk) log.o is in libssh.a
 - OpenBSD CVS Sync
   - 2001/04/05 10:00:06
     2.3.x does old  GEX, too; report jakob@
   - 2001/04/05 10:39:03
     [compress.c compress.h packet.c]
     reset compress state per direction when rekeying.
   - 2001/04/05 10:39:48
     temporary version 2.5.4 (supports rekeying).
     this is not an official release.
   - 2001/04/05 10:42:57
     [auth-chall.c authfd.c channels.c clientloop.c kex.c kexgex.c key.c
      mac.c packet.c serverloop.c sftp-client.c sftp-client.h sftp-glob.c
      sftp-glob.h sftp-int.c sftp-server.c sftp.c ssh-keygen.c sshconnect.c
      sshconnect2.c sshd.c]
     fix whitespace: unexpand + trailing spaces.
   - 2001/04/05 11:09:17
     [clientloop.c compat.c compat.h]
     add SSH_BUG_NOREKEY and detect broken (=all old) openssh versions.
   - 2001/04/05 15:45:43
     ssh defaults to protocol v2; from
   - 2001/04/05 15:48:18
     [canohost.c canohost.h session.c]
     move get_remote_name_or_ip() to canohost.[ch]; for portable.  ok markus@
   - 2001/04/05 20:01:10
     for ~R print message if server does not support rekeying. (and fix ~R).
   - 2001/04/05 21:02:46
     better error message
   - 2001/04/05 21:05:24
     [clientloop.c ssh.c]
     don't request a session for 'ssh -N', pointed out

 - OpenBSD CVS Sync
   - 2001/04/04 09:48:35
     [kex.c kex.h kexdh.c kexgex.c packet.c sshconnect2.c sshd.c]
     don't sent multiple kexinit-requests.
     send newkeys, block while waiting for newkeys.
     fix comments.
   - 2001/04/04 14:34:58
     [clientloop.c kex.c kex.h serverloop.c sshconnect2.c sshd.c]
     enable server side rekeying + some rekey related clientup.
     todo: we should not send any non-KEX messages after we send KEXINIT
   - 2001/04/04 15:50:55
     f-secure 1.3.2 does not handle IGNORE; from
   - 2001/04/04 20:25:38
     [channels.c channels.h clientloop.c kex.c kex.h serverloop.c
      sshconnect2.c sshd.c]
     more robust rekeying
     don't send channel data after rekeying is started.
   - 2001/04/04 20:32:56
     we don't care about missing bannerfiles; from, ok deraadt@
   - 2001/04/04 22:04:35
     [kex.c kexgex.c serverloop.c]
     parse full kexinit packet.
     make server-side more robust, too.
   - 2001/04/04 23:09:18
     [dh.c kex.c packet.c]
     clear+free keys,iv for rekeying.
     + fix DH mem leaks. ok niels@
 - (stevesk) don't use vhangup() if defined(HAVE_DEV_PTMX); also removes

 - OpenBSD CVS Sync
   - 2001/04/02 17:32:23
   - 2001/04/03 13:56:11
     [sftp-glob.c ssh-agent.c ssh-keygen.c]
     free() -> xfree()
   - 2001/04/03 19:53:29
     [dh.c dh.h kex.c kex.h sshconnect2.c sshd.c]
     move kex to kex*.c, used dispatch_set() callbacks for kex. should
     make rekeying easier.
   - 2001/04/03 21:19:38
     id_rsa1/2 -> id_rsa; ok markus@
   - 2001/04/03 23:32:12
     [kex.c kex.h packet.c sshconnect2.c sshd.c]
     undo parts of recent my changes: main part of keyexchange does not
     need dispatch-callbacks, since application data is delayed until
     the keyexchange completes (if i understand the drafts correctly).
     add some infrastructure for re-keying.
   - 2001/04/04 00:06:54
     [clientloop.c sshconnect2.c]
     enable client rekeying
        (1) force rekeying with ~R, or
        (2) if the server requests rekeying.
     works against ssh-2.0.12/2.0.13/2.1.0/2.2.0/2.3.0/2.3.1/2.4.0
 - (bal) Oops.. Missed including kexdh.c and kexgex.c in OpenBSD sync.

 - OpenBSD CVS Sync
   - 2001/04/02 14:15:31
     typo; ok markus@
   - 2001/04/02 14:20:23
     [readconf.c servconf.c]
     correct comment; ok markus@
 - (stevesk) nchan.c: remove ostate checks and add EINVAL to
    shutdown(SHUT_RD) error() bypass for HP-UX.

 - (stevesk) log.c openbsd sync; missing newlines
 - (stevesk) sshpty.h openbsd sync; PTY_H -> SSHPTY_H

 - (djm) Another openbsd-compat/glob.c sync
 - (djm) OpenBSD CVS Sync
   - 2001/03/28 21:59:41
     [kex.c kex.h sshconnect2.c sshd.c]
     forgot to include min and max params in hash, okay markus@
   - 2001/03/28 22:04:57
     more sanity checking on primes file
   - 2001/03/28 22:43:31
     [auth.h auth2.c auth2-chall.c]
     check auth_root_allowed for kbd-int auth, too.
   - 2001/03/29 14:24:59
     use recommended defaults
   - 2001/03/29 21:06:21
     [sshconnect2.c sshd.c]
     need to set both STOC and CTOS for SSH_BUG_BIGENDIANAES; ok markus@
   - 2001/03/29 21:17:40
     [dh.c dh.h kex.c kex.h]
     prepare for rekeying: move DH code to dh.c
   - 2001/03/29 23:42:01
     Protocol 1 key regeneration log => verbose, some KNF; ok markus@

 - OpenBSD CVS Sync
   - 2001/03/26 15:47:59
     document more defaults; misc. cleanup.  ok markus@
   - 2001/03/26 23:12:42
   - 2001/03/26 23:23:24
     [rsa.c rsa.h ssh-agent.c ssh-keygen.c]
     try to read private f-secure ssh v2 rsa keys.
   - 2001/03/27 10:34:08
     [ssh-rsa.c sshd.c]
     use EVP_get_digestbynid, reorder some calls and fix missing free.
   - 2001/03/27 10:57:00
     [compat.c compat.h ssh-rsa.c]
     some older systems use NID_md5 instead of NID_sha1 for RSASSA-PKCS1-v1_5
     signatures in SSH protocol 2, ok djm@
   - 2001/03/27 17:46:50
     [compat.c compat.h dh.c dh.h ssh2.h sshconnect2.c sshd.c version.h]
     make dh group exchange more flexible, allow min and max group size,
     okay markus@, deraadt@
   - 2001/03/28 19:56:23
     start to sync scp closer to rcp; ok markus@
   - 2001/03/28 20:04:38
     usage more like rcp and add missing -B to usage; ok markus@
   - 2001/03/28 20:50:45
     call refuse() before close(); from

 - (djm) Reorder tests and library inclusion for Krb4/AFS to try to
   resolve linking conflicts with libcrypto. Report and suggested fix
   from Holger Trapp <Holger.Trapp@Informatik.TU-Chemnitz.DE>
 - (djm) Work around Solaris' broken struct dirent. Diagnosis and suggested
   fix from Philippe Levan <>
 - (djm) Rework krbIV tests to get us closer to building on Redhat. Still
   doesn't work because of conflicts between krbIV's and OpenSSL's des.h
 - (djm) Sync openbsd-compat/glob.c

 - Attempt sync with sshlogin.c w/ OpenBSD (mainly CVS ID)
 - Fix pointer issues in waitpid() and wait() replaces.  Patch by Lutz
   Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
 - OpenBSD CVS Sync
   - 2001/03/25 00:01:34
     shorten; ok markus@
   - 2001/03/25 13:16:11
     [servconf.c servconf.h session.c sshd.8 sshd_config]
     PrintLastLog option; from with some minor
     changes by me.  ok markus@
   - 2001/03/26 08:07:09
     [authfile.c authfile.h ssh-add.c ssh-keygen.c ssh.c sshconnect.c
      sshconnect.h sshconnect1.c sshconnect2.c sshd.c]
     simpler key load/save interface, see authfile.h
 - (djm) Reestablish PAM credentials (which can be supplemental group
   memberships) after initgroups() blows them away. Report and suggested
   fix from Nalin Dahyabhai <>

 - Fixed permissions ssh-keyscan.  Thanks to Christopher Linn <>.
 - OpenBSD CVS Sync
   - 2001/03/23 11:04:07
     [compat.c compat.h sshconnect2.c sshd.c]
     Compat for OpenSSH with broken Rijndael/AES. ok markus@
   - 2001/03/23 12:02:49
     authctxt is now passed to do_authenticated
   - 2001/03/23 13:10:57
     fix put, upload to _absolute_ path, ok djm@
   - 2001/03/23 14:28:32
     [session.c sshd.c]
     ignore SIGPIPE, restore in child, fixes x11-fwd crashes; with djm@
 - (djm) Pull out our own SIGPIPE hacks

 - OpenBSD CVS Sync
   - 2001/03/22 20:22:55
     do not place linefeeds in buffer

 - (djm) Better AIX no tty fix, spotted by Gert Doering <>
 - (bal) version.c CVS ID resync
 - (bal) auth-chall.c auth-passwd.c auth.h auth1.c auth2.c session.c CVS ID
 - (bal) scp.c CVS ID resync
 - OpenBSD CVS Sync
   - 2001/03/20 19:10:16
     default to SSH protocol version 2
   - 2001/03/20 19:21:21
     remove unused arg
   - 2001/03/20 19:21:21
     remove unused arg
   - 2001/03/21 11:43:45
     [auth1.c auth2.c session.c session.h]
     merge common ssh v1/2 code
   - 2001/03/21 14:20:45
     add -B flag to usage
   - 2001/03/21 21:06:30
     missing init; from

 - (djm) Fix ttyname breakage for AIX and Tru64. Patch from Steve
   VanDevender <>
 - (djm) Make sure pam_retval is initialised on call to pam_end. Patch
   from Solar Designer <>
 - (djm) Don't loop forever when changing password via PAM. Patch
   from Solar Designer <>
 - (djm) Generate config files before build
 - (djm) Correctly handle SIA and AIX when no tty present. Spotted and
   suggested fix from Mike Battersby <>

 - (bal) glob.c update to added GLOB_LIMITS (OpenBSD CVS).
 - (bal) glob.c update to set gl_pathv to NULL (OpenBSD CVS).
 - (bal) Oops.  Missed globc.h change (OpenBSD CVS).
 - (djm) OpenBSD CVS Sync
   - 2001/03/19 17:07:23
     [auth.c readconf.c]
     undo /etc/shell and proto 2,1 change for openssh-2.5.2
   - 2001/03/19 17:12:10
     version 2.5.2
 - (djm) Update RPM spec version
 - (djm) Release 2.5.2p1
- 2001/03/19 18:33:47 [defines.h]
  change S_ISLNK macro to work for UnixWare 2.03
- 2001/03/19 20:45:11 [openbsd-compat/glob.c]
  add get_arg_max(). Use sysconf() if ARG_MAX is not defined

 - (djm) Seed PRNG at startup, rather than waiting for arc4random calls to
   do it implicitly.
 - (djm) Add getusershell() functions from OpenBSD CVS
 - OpenBSD CVS Sync
   - 2001/03/18 12:07:52
     ignore permitopen="host:port" if AllowTcpForwarding==no
 - (djm) Make scp work on systems without 64-bit ints
 - 2001/03/18 18:28:39 [defines.h]
   move HAVE_LONG_LONG_INT where it works
 - (bal) Use 'NGROUPS' for NeXT Since 'MAX_NGROUPS' is wrapped up in -lposix
   stuff.  Change suggested by Mark Miller <>
 - (bal) Small fix to scp.  %lu vs %ld
 - (bal) NeXTStep lacks S_ISLNK.  Plus split up S_IS*
 - (djm) OpenBSD CVS Sync
   -     2001/03/19 03:52:51
     Report ssh connection closing correctly; ok deraadt@
   - 2001/03/18 23:30:55
     [compat.c compat.h sshd.c]
     specifically version match on ssh scanners.  do not log scan
     information to the console
   -      2001/03/19 12:10:17
     Document permitopen authorized_keys option; ok markus@
   -     2001/03/19 05:49:52
     document PreferredAuthentications option; ok markus@
 - (bal) Minor NeXT fixed.  Forgot to #undef NGROUPS_MAX

 - (bal) Fixed scp type casing issue which causes "scp: protocol error:
   size not delimited" fatal errors when tranfering.
 - OpenBSD CVS Sync
   - 2001/03/17 17:27:59
     check /etc/shells, too
 - 2001/03/17 18:45:25 [compat.c]

 - Support usrinfo() on AIX. Based on patch from Gert Doering
 - OpenBSD CVS Sync
   - 2001/03/15 15:05:59
     use %lld in printf, ok millert@/deraadt@; report from
   - 2001/03/15 22:07:08
     pass Session to do_child + KNF
   - 2001/03/16 08:16:18
     [sftp-client.c sftp-client.h sftp-glob.c sftp-int.c]
     Revise globbing for get/put to be more shell-like. In particular,
     "get/put file* directory/" now works. ok markus@
   - 2001/03/16 09:55:53
     fix memset and whitespace
   - 2001/03/16 13:44:24
     discourage strcat/strcpy
   - 2001/03/16 19:06:30
     [auth-options.c channels.c channels.h serverloop.c session.c]
     implement "permitopen" key option, restricts -L style forwarding to
     to specified host:port pairs. based on work by
 - Check for gl_matchc support in glob_t and fall back to the
   openbsd-compat/glob.[ch] support if it does not exist.

 - OpenBSD CVS Sync
   - 2001/03/14 08:57:14
   - 2001/03/14 15:15:58
     add version command
   - 2001/03/14 22:50:25
     note no getopt()
 - (stevesk) ssh-keyscan.c: specify "openbsd-compat/fake-queue.h"
 - (bal) Cygwin README change by Corinna Vinschen <>

 - OpenBSD CVS Sync
   - 2001/03/13 17:34:42
     missing xfree, deny key on parse error; ok stevesk@
   - 2001/03/13 22:42:54
     [sftp-client.c sftp-client.h sftp-glob.c sftp-glob.h sftp-int.c]
     sftp client filename globbing for get, put, ch{mod,grp,own}. ok markus@
 - (bal) Fix strerror() in bsd-misc.c
 - (djm) Add replacement glob() from OpenBSD libc if the system glob is
   missing or lacks the GLOB_ALTDIRFUNC extension
 - (djm) Remove -I$(srcdir)/openbsd-compat from CFLAGS, refer to headers
   relatively. Avoids conflict between glob.h and /usr/include/glob.h

 - OpenBSD CVS Sync
   - 2001/03/12 22:02:02
     [key.c key.h ssh-add.c ssh-keygen.c sshconnect.c sshconnect2.c]
     remove old key_fingerprint interface, s/_ex//

 - OpenBSD CVS Sync
   - 2001/03/11 13:25:36
     [auth2.c key.c]
   - 2001/03/11 15:03:16
     [key.c key.h]
     add improved fingerprint functions. based on work by Carsten
     Raskgaard <> and modified by me. ok markus@.
   - 2001/03/11 15:04:16
     [ssh-keygen.1 ssh-keygen.c]
     print both md5, sha1 and bubblebabble fingerprints when using
     ssh-keygen -l -v. ok markus@.
   - 2001/03/11 15:13:09
     cleanup & shorten some var names key_fingerprint_bubblebabble.
   - 2001/03/11 16:39:03
     KNF, and SHA1 binary output is just creeping featurism
 - 2001/03/11 17:29:32 []
   test if snprintf() supports %ll
   add /dev to search path for PRNGD/EGD socket
   fix my mistake in USER_PATH test program
 - OpenBSD CVS Sync
   - 2001/03/11 18:29:51
   - 2001/03/11 22:33:24
     [ssh-keygen.1 ssh-keygen.c]
     remove -v again. use -B instead for bubblebabble. make -B consistent
     with -l and make -B work with /path/to/known_hosts. ok deraadt@
 - (djm) Bump portable version number for generating test RPMs
 - (djm) Add "static_openssl" RPM build option, remove rsh build dependency
 - (bal) Reorder includes in Makefile.

 - OpenBSD CVS Sync
   - 2001/03/10 12:48:27
     ignore nonexisting private keys; report
   - 2001/03/10 12:53:51
     [readconf.c ssh_config]
     default to SSH2, now that m68k runs fast
   - 2001/03/10 15:02:05
     [ttymodes.c ttymodes.h]
     remove unused sgtty macros; ok markus@
   - 2001/03/10 15:31:00
     [compat.c compat.h sshconnect.c]
     all known netscreen ssh versions, and older versions of OSU ssh cannot
     handle password padding (newer OSU is fixed)
 - 2001/03/10 16:33:42 [ sshd_config]
   make sure $bindir is in USER_PATH so scp will work
 - OpenBSD CVS Sync
   - 2001/03/10 17:51:04
     [kex.c match.c match.h readconf.c readconf.h sshconnect2.c]
     add PreferredAuthentications

 - OpenBSD CVS Sync
   - 2001/03/09 03:14:39
     create *.pub files with umask 0644, so that you can mv them to
   - 2001/03/09 12:30:29
 - Removed log.o from sftp client.  Not needed.

 - OpenBSD CVS Sync
   - 2001/03/08 18:47:12
     unused; ok markus@
   - 2001/03/08 20:44:48
     spelling, cleanup; ok deraadt@
   - 2001/03/08 21:42:33
     [compat.c compat.h readconf.h ssh.c sshconnect1.c sshconnect2.c]
     implement client side of SSH2_MSG_USERAUTH_PK_OK (test public key ->
     no need to do enter passphrase or do expensive sign operations if the
     server does not accept key).

 - OpenBSD CVS Sync
   - 2001/03/07 10:11:23
     [sftp-client.c sftp-client.h sftp-int.c sftp-server.c sftp.1 sftp.c sftp.h]
     Support for new draft (draft-ietf-secsh-filexfer-01). New symlink handling
     functions and small protocol change.
   - 2001/03/08 00:15:48
     [readconf.c ssh.1]
     turn off useprivilegedports by default. only rhost-auth needs
     this. older sshd's may need this, too.
 - (stevesk) Reliant Unix (SNI) needs HAVE_BOGUS_SYS_QUEUE_H;
   Dirk Markwardt <>

 - (bal) OpenBSD CVS Sync
   - 2001/03/06 06:11:18
     appease gcc
   - 2001/03/06 06:11:44
     [sftp-int.c sftp.1 sftp.c]
     sftp -b batchfile;
   - 2001/03/06 15:10:42
     order things
   - 2001/03/07 01:19:06
     [ssh.1 sshd.8]
     the name "secure shell" is boring, noone ever uses it
   - 2001/03/07 04:05:58
     removed dated comment
 - Cygwin contrib improvements from Corinna Vinschen <>

 - (bal) OpenBSD CVS Sync
   - 2001/03/05 14:28:47
     alpha order;
   - 2001/03/05 15:44:51
     sync error message; ok markus@
   - 2001/03/05 15:56:16
     [myproposal.h ssh.1]
     switch to aes128-cbc/hmac-md5 by default in SSH2 -- faster;
     provos & markus ok
   - 2001/03/05 16:07:15
     detail default hmac setup too
   - 2001/03/05 17:17:21
     [kex.c kex.h sshconnect2.c sshd.c]
     generate a 2*need size (~300 instead of 1024/2048) random private
     exponent during the DH key agreement. according to Niels (the great
     german advisor) this is safe since /etc/primes contains strong
     primes only.

             P. C. van Oorschot and M. J. Wiener, On Diffie-Hellman key
             agreement with short exponents, In Advances in Cryptology
             - EUROCRYPT'96, LNCS 1070, Springer-Verlag, 1996, pp.332-343.
   - 2001/03/05 17:40:48
     more ssh_known_hosts2 documentation; ok markus@
   - 2001/03/05 17:58:22
   - 2001/03/06 00:33:04
     [authfd.c cli.c ssh-agent.c]
     EINTR/EAGAIN handling is required in more cases
   - 2001/03/06 01:06:03
     Don't assume we wil get the version string all in one read().
     deraadt@ OK'd
   - 2001/03/06 01:08:27
     If read() fails with EINTR deal with it the same way we treat EAGAIN

 - (bal) CVS ID touch up on sshpty.[ch] and sshlogin.[ch]
 - (bal) CVS ID touch up on sftp-int.c
 - (bal) CVS ID touch up on uuencode.c
 - (bal) CVS ID touch up on auth2.c, serverloop.c, session.c & sshd.c
 - (bal) OpenBSD CVS Sync
   - 2001/02/17 23:48:48
     it's the OpenSSH one
   - 2001/02/21 07:37:04
     inline -> __inline__, and some indent
   - 2001/02/21 09:05:54
     improve fd handling
   - 2001/02/21 09:12:56
     careful with & and &&; markus ok
   - 2001/02/21 21:14:04
     -i supports DSA identities now; ok markus@
   - 2001/02/22 04:29:37
   - 2001/02/22 06:43:55
     [ssh-keygen.1 ssh-keygen.c]
     document -d, and -t defaults to rsa1
   - 2001/02/22 08:03:51
     [ssh-keygen.1 ssh-keygen.c]
     bye bye -d
   - 2001/02/22 18:09:06
     activate RSA 2 key
   - 2001/02/22 21:57:27
     [ssh.1 sshd.8]
     typos/grammar from
   - 2001/02/22 21:59:44
     [auth.c auth.h auth1.c auth2.c misc.c misc.h ssh.c]
     use pwcopy in ssh.c, too
   - 2001/02/23 15:34:53
   - 2001/02/23 18:15:13
     the random session key depends now on the session_key_int
     sent by the 'attacker'
             dig1 = md5(cookie|session_key_int);
             dig2 = md5(dig1|cookie|session_key_int);
             fake_session_key = dig1|dig2;
     this change is caused by a mail from
     patch based on discussions with my german advisor
   - 2001/02/24 10:37:55
     look for id_rsa by default, before id_dsa
   - 2001/02/24 10:37:26
     ssh2 rsa key before dsa key
   - 2001/02/27 10:35:27
     fix random padding
   - 2001/02/27 11:00:11
     support SSH-2.0-2.1 ; from
   - 2001/02/28 05:34:28
     pull in protos
   - 2001/02/28 05:36:28
     do not kill the subprocess on termination (we will see if this helps
     things or hurts things)
   - 2001/02/28 08:45:39
     fix byte counts for ssh protocol v1
   - 2001/02/28 08:54:55
     [channels.c nchan.c nchan.h]
     make sure remote stderr does not get truncated.
     remove closed fd's from the select mask.
   - 2001/02/28 09:57:07
     [packet.c packet.h sshconnect2.c]
     in ssh protocol v2 use ignore messages for padding (instead of
     trailing \0).
   - 2001/02/28 12:55:07
     unify debug messages
   - 2001/02/28 17:52:54
     for completeness, copy pw_gecos too
   - 2001/02/28 21:21:41
     generate a fake session id, too
   - 2001/02/28 21:27:48
     [channels.c packet.c packet.h serverloop.c]
     use ignore message to simulate a SSH2_MSG_CHANNEL_DATA message
     use random content in ignore messages.
   - 2001/02/28 21:31:32
   - 2001/03/01 02:11:25
     split line so that p will have an easier time next time around
   - 2001/03/01 02:29:04
     shorten usage by a line
   - 2001/03/01 02:45:10
     [auth-rsa.c auth2.c deattack.c packet.c]
   - 2001/03/01 03:38:33
     [cli.c cli.h rijndael.h ssh-keyscan.1]
     copyright notices on all source files
   - 2001/03/01 22:46:37
     don't truncate remote ssh-2 commands; from
     use min, not max for logging, fixes overflow.
   - 2001/03/02 06:21:01
     explain SIGHUP better
   - 2001/03/02 09:42:49
     doc the dsa/rsa key pair files
   - 2001/03/02 18:54:31
     [atomicio.c atomicio.h auth-chall.c auth.c auth2-chall.c crc32.h
      scp.c serverloop.c session.c sftp-server.8 sftp.1 ssh-add.1 ssh-add.c
      ssh-agent.1 ssh-agent.c ssh-keygen.1 ssh.1 sshd.8]
     make copyright lines the same format
   - 2001/03/03 06:53:12
     standard theo sweep
   - 2001/03/03 21:19:41
     Dynamically allocate read_wait and its copies.  Since maxfd is
     based on resource limits it is often (usually?) larger than FD_SETSIZE.
   - 2001/03/03 21:40:30
     Dynamically allocate fd_set; deraadt@ OK
   - 2001/03/03 21:41:07
     Dynamically allocate fd_set; deraadt@ OK
   - 2001/03/03 22:07:50
   - 2001/03/03 23:52:22
     clean up arg processing. based on work by
   - 2001/03/03 23:59:34
     [log.c ssh.c]
     log*.c -> log.c
   - 2001/03/04 00:03:59
   - 2001/03/04 10:57:53
     add -m to usage; ok markus@
   - 2001/03/04 11:04:41
     small cleanup and clarify for PermitRootLogin; ok markus@
   - 2001/03/04 11:16:06
     [servconf.c sshd.8]
     kill obsolete RandomSeed; ok markus@ deraadt@
   - 2001/03/04 12:54:04
   - 2001/03/04 17:42:28
     [authfd.c channels.c dh.c log.c readconf.c servconf.c sftp-int.c
      ssh.c sshconnect.c sshd.c]
     log functions should not be passed strings that end in newline as they
     get passed on to syslog() and when logging to stderr, do_log() appends
     its own newline.
   - 2001/03/04 18:21:28
     list SSH2 ciphers
 - (bal) Put HAVE_PW_CLASS_IN_PASSWD back into pwcopy()
 - (bal) Fix up logging since it changed.  removed log-*.c
 - (djm) Fix up LOG_AUTHPRIV for systems that have it
 - (stevesk) OpenBSD sync:
   - 2001/03/05 08:37:27
     skip inlining, why bother
 - (stevesk) sftp.c: handle __progname

 - (bal) Remove make-ssh-known-hosts.1 since it's no longer valid.
 - (bal) Updated contrib/README to remove 'make-ssh-known-hosts' and
   give Mark Roth credit for

 - (djm) Remove, ssh-keyscan is better.
 - (djm) Document PAM ChallengeResponseAuthentication in sshd.8
 - (djm) Disable and comment ChallengeResponseAuthentication in sshd_config
 - (djm) Allow PRNGd entropy collection from localhost TCP socket. Replace
   "--with-egd-pool" configure option with "--with-prngd-socket" and
   "--with-prngd-port" options. Debugged and improved by Lutz Jaenicke

 - (djm) Properly add -lcrypt if needed.
 - (djm) Force standard PAM conversation function in a few more places.
   Patch from Redhat 2.5.1p1-2 RPM, probably Nalin Dahyabhai
 - (djm) Cygwin needs pw->pw_gecos copied too. Patch from Corinna Vinschen
 - (djm) Released 2.5.1p2

 - (djm) Detect endianness in configure and use it in rijndael.c. Fixes
   "Bad packet length" bugs.
 - (djm) Fully revert PAM session patch (again). All PAM session init is
   now done before the final fork().
 - (djm) EGD detection patch from Tim Rice <>
 - (djm) Remove /tmp from EGD socket search list

 - (bal) Applied shutdown() patch for sftp.c by  Corinna Vinschen
 - (bal) OpenBSD Sync
   - 2001/02/23 15:37:45
     handle SSH_PROTOFLAG_SCREEN_NUMBER for buggy clients
 - (bal) sshd.init support for all Redhat release.  Patch by Jim Knoble
 - (djm) Fix up POSIX saved uid support. Report from Mark Miller
 - (djm) Search for -lcrypt on FreeBSD too
 - (djm) fatal() on OpenSSL version mismatch
 - (djm) Move PAM init to after fork for non-Solaris derived PAMs
 - (djm) Warning fix on entropy.c saved uid stuff. Patch from Mark Miller
 - (djm) Fix PAM fix
 - (djm) Remove 'noreplace' flag from sshd_config in RPM spec files. This
   change is being made as 2.5.x configfiles are not back-compatible with
 - (djm) Avoid warnings for missing broken IP_TOS. Patch from Mark Miller
 - (djm) Open Server 5 doesn't need BROKEN_SAVED_UIDS. Patch from Tim Rice
 - (djm) Avoid multiple definition of _PATH_LS. Patch from Tim Rice

 - (bal) Fixed bsd-snprinf.c so it now honors 'BROKEN_SNPRINTF' again.
 - (djm) Some systems (SCO3, NeXT) have weird saved uid semantics.
   Based on patch from Tim Rice <>

 - (djm) Use %{_libexecdir} rather than hardcoded path in RPM specfile
   Patch from Adrian Ho <>
 - (bal) Replace 'unsigned long long' to 'u_int64_t' since not every
   platform defines u_int64_t as being that.

 - (bal) Missed part of the UNIX sockets patch.  Patch by Corinna
   Vinschen <>
 - (bal) Reorder where 'strftime' is detected to resolve linking
   issues on SCO.  Patch by Tim Rice <>

 - (bal) pam_stack fix to correctly detect between RH7 and older RHs.
   Patch by Pekka Savola <>
 - (bal) Renamed sigaction.[ch] to sigact.[ch].  Causes problems with
   some platforms.
 - (bal) Generalize lack of UNIX sockets since this also effects Cray
   not just Cygwin.  Based on patch by Wendy Palm <>

 - (bal) Fix --define rh7 in openssh.spec file.  Patch by Steve Tell
 - (bal) Patch to force OpenSSH rpm to require the same version of OpenSSL
   that it was compiled against.  Patch by Pekka Savola <>
 - (bal) Double -I for OpenSSL on SCO.  Patch by Tim Rice

 - (bal) Corrected SCO luid patch by svaughan <>
 - (bal) Added from Mark Roth <>
 - (bal) Removed reference to liblogin from contrib/README.  It was
   integrated into OpenSSH a long while ago.
 - (stevesk) remove erroneous #ifdef sgi code.
   Michael Stone <>

 - (bal) Removed -L/usr/ucblib -R/usr/ucblib for Solaris platform.
 - (bal) Fixed OpenSSL rework to use $saved_*.  Patch by Tim Rice
 - (bal) Reverted out of 2001/02/15 patch by djm below because it
   breaks Solaris.
	- (djm) Move PAM session setup back to before setuid to user.
	  fixes problems on Solaris-drived PAMs.
 - (stevesk) session.c: back out to where we were before:
    - (djm) Move PAM session initialisation until after fork in sshd. Patch
      from Nalin Dahyabhai <>

 - (bal) Fix mixed up params to memmove() from Jan 5th in setenv.c and
 - (bal) OpenBSD CVS Sync:
   - 2001/02/19 23:09:05
     clarify message to make it not mention "ident"

 - (bal) Markus' blessing to rename login.[ch] -> sshlogin.[ch] and
   pty.[ch] -> sshpty.[ch]
 - (djm) Rework search for OpenSSL location. Skip directories which don't
   exist, don't add -L$ssldir/lib if it doesn't exist. Should help SCO
   with its limit of 6 -L options.
 - OpenBSD CVS Sync:
   -        2001/02/17 08:24:40
   - 2001/02/17 16:28:58
     cleanup -V output; noted by millert
   - 2001/02/17 16:48:48
     it's the OpenSSH one
   -  2001/02/18 11:33:54
     typo, SSH2_MSG_KEXINIT, from
   -  2001/02/19 02:53:32
     [compat.c compat.h serverloop.c]
     ssh-1.2.{18-22} has broken handling of ignore messages; report from
   -  2001/02/19 03:35:23
     OpenSSH_2.5.1 adds bug compat with 1.2.{18-22}
   - 2001/02/19 03:36:25
     np is changed by recursion;
 - Update versions in RPM spec files
 - Release 2.5.1p1

 - (bal) Patch for fix FCHMOD reference in ftp-client.c by Tim Rice
 - (Bal) Patch for lack of RA_RESTART in misc.c for mysignal by
 - (djm) Fix my breaking of cygwin builds, Patch from Corinna Vinschen
   <> and myself.
 - (djm) Close listen_sock on bind() failures. Patch from Arkadiusz
   Miskiewicz <misiek@pld.ORG.PL>
 - (djm) Robustify EGD/PRNGd code in face of socket closures. Patch from
   Todd C. Miller <>
 - (djm) Use ttyname() to determine name of tty returned by openpty()
   rather then risking overflow. Patch from Marek Michalkiewicz
 - (djm) Swapped tests for no_libsocket and no_libnsl in
   Patch from Marek Michalkiewicz <>
 - (djm) Doc fixes from Pekka Savola <>
 - (djm) Use SA_INTERRUPT along SA_RESTART if present (equivalent for
 - (djm) SCO needs librpc for libwrap. Patch from Tim Rice
 - (stevesk) misc.c: cpp rework of SA_(INTERRUPT|RESTART) handling.
 - (stevesk) scp.c: use mysignal() for updateprogressmeter() handler.
 - (djm) SA_INTERRUPT is the converse of SA_RESTART, apply it only for
 - (djm) Move entropy.c over to mysignal()
 - (djm) SunOS 4.x also needs to define HAVE_BOGUS_SYS_QUEUE_H as it has
   a <sys/queue.h> that lacks the TAILQ_* macros. Patch from Todd C.
   Miller <>
 - (djm) Update RPM spec files for 2.5.0p1
 - (djm) Merge BSD_AUTH support from Markus Friedl and David J. MacKenzie
   enable with --with-bsd-auth.
 - (stevesk) entropy.c: typo; should be SIGPIPE

 - (bal) OpenBSD Sync:
   - 2001/02/16 13:38:18
     remove debug
   - 2001/02/16 14:03:43
     proper payload-length check for x11 w/o screen-number

 - (bal) added '--with-prce'  to allow overriding of system regex when
   required (tested by David Dulek <>)
 - (bal) Added DG/UX case and set that they have a broken IPTOS.
 - (djm) Mini-configure reorder patch from Tim Rice <>
   Fixes linking on SCO.
 - (djm) Make gnome-ssh-askpass handle multi-line prompts. Patch from
   Nalin Dahyabhai <>
 - (djm) BSD license for gnome-ssh-askpass (was X11)
 - (djm) KNF on gnome-ssh-askpass
 - (djm) USE_PIPES for a few more sysv platforms
 - (djm) Cleanup a little
 - (djm) Ask users to check config.log when we can't find necessary libs
 - (djm) Set "login ID" on systems with setluid. Only enabled for SCO
   OpenServer for now. Based on patch from svaughan <>
 - (djm) OpenBSD CVS:
   -  2001/02/15 16:19:59
     [channels.c channels.h serverloop.c sshconnect.c sshconnect.h]
     [sshconnect1.c sshconnect2.c]
     genericize password padding function for SSH1 and SSH2.
     add stylized echo to 2, too.
 - (djm) Add roundup() macro to defines.h
 - (stevesk) set SA_RESTART flag in mysignal() for SIGCHLD;
   needed on Unixware 2.x.

 - (djm) Move PAM session setup back to before setuid to user. Fixes
   problems on Solaris-derived PAMs.
 - (djm) Clean up PAM namespace. Suggested by Darren Moffat
 - (bal) Sync w/ OpenSSH for new release
   - 2001/02/12 12:45:06
     fix xmalloc(0), ok dugsong@
   - 2001/02/11 12:59:25
     [ sshd.8 sshconnect2.c readconf.h readconf.c packet.c
      sshd.c ssh.c ssh.1 servconf.h servconf.c myproposal.h kex.h kex.c]
     1) clean up the MAC support for SSH-2
     2) allow you to specify the MAC with 'ssh -m'
     3) or the 'MACs' keyword in ssh(d)_config
     4) add hmac-{md5,sha1}-96
             ok stevesk@, provos@
   - 2001/02/12 16:16:23
     [auth-passwd.c auth.c auth.h auth1.c auth2.c servconf.c servconf.h
      ssh-keygen.c sshd.8]
     (before this change, root could login even if PermitRootLogin==no)
   - 2001/02/12 22:56:09
     [clientloop.c packet.c ssh-keyscan.c]
     deal with EAGAIN/EINTR selects which were skipped
   - 2001/02/13 22:49:40
     [auth1.c auth2.c]
     setproctitle(user) only if getpwnam succeeds
   - 2001/02/12 23:26:20
     missing memset; from
   - 2001/02/12 20:53:33
     lumask now works with 1 numeric arg; ok markus@, djm@
   - 2001/02/14 9:46:03
     [sftp-client.c sftp-int.c sftp.1]
     Fix and document 'preserve modes & times' option ('-p' flag in sftp);
     ok markus@
 - (bal) replaced PATH_MAX in sftp-int.c w/ MAXPATHLEN.
 - (djm) Move to Jim's 1.2.0 X11 askpass program
 - (stevesk) OpenBSD sync:
   - 2001/02/15 01:38:04

 - (djm) Don't try to close PAM session or delete credentials if the
   session has not been open or credentials not set. Based on patch from
   Andrew Bartlett <>
 - (djm) Move PAM session initialisation until after fork in sshd. Patch
   from Nalin Dahyabhai <>
 - (bal) Missing function prototype in bsd-snprintf.c patch by
   Mark Miller <>
 - (djm) Split out and improve OSF SIA auth code. Patch from Chris Adams
   <> with a little modification and KNF.
 - (stevesk) fix for SIA patch, misplaced session_setup_sia()

 - (djm) Only test -S potential EGD sockets if they exist and are readable.
 - (bal) Cleaned out bsd-snprintf.c.  VARARGS have been banished and
   I did a base KNF over the whe whole file to make it more acceptable.
   (backed out of original patch and removed it from ChangeLog)
 - (bal) Use chown() if fchown() does not exist in ftp-server.c patch by
   Tim Rice <>
 - (stevesk) auth1.c: fix PAM passwordless check.

 - (djm) Update Redhat specfile to allow --define "skip_x11_askpass 1",
   --define "skip_gnome_askpass 1", --define "rh7 1" and make the
   implicit rpm-3.0.5 dependancy explicit. Patch and suggestions from
   Pekka Savola <>
 - (djm) Clean up PCRE text in INSTALL
 - (djm) Fix OSF SIA auth NULL pointer deref. Report from Mike Battersby
 - (bal) NCR SVR4 compatiblity provide by Don Bragg <>
 - (stevesk) session.c: remove debugging code.

 - (bal) OpenBSD Sync
   - 2001/02/07 22:35:46
     [auth1.c auth2.c sshd.c]
     move k_setpag() to a central place; ok dugsong@
   - 2001/02/10 12:52:02
     offer passwd before s/key
   - 2001/02/8 22:37:10
     remove last call to sprintf; ok deraadt@
   - 2001/02/10 1:33:32
     add debug message, since sshd blocks here if DNS is not available
   - 2001/02/10 12:44:02
     don't call vis() for \r
   - 2001/02/10 0:12:43
     revert a small change to allow -r option to work again; ok deraadt@
   - 2001/02/10 15:14:11
     fix memory leak; ok markus@
   - 2001/02/10 0:45:52
     Mention that you can quote pathnames with spaces in them
   - 2001/02/10 1:46:28
     remove mapping of argv[0] -> hostname
   - 2001/02/06 22:26:17
     do not ask for passphrase in batch mode; report from
   - 2001/02/08 10:47:05
     [sshconnect.c sshconnect1.c sshconnect2.c]
     %.30s is too short for IPv6 numeric address.  use %.128s for now.
     markus ok
   - 2001/02/09 12:28:35
     do not free twice, thanks to /etc/malloc.conf
   - 2001/02/09 17:10:53
     partial success: debug->log; "Permission denied" if no more auth methods
   - 2001/02/10 12:09:21
     remove some lines
   - 2001/02/09 13:38:07
     reset options if no option is given; from
   - 2001/02/08 21:58:28
     nuke sprintf, ok deraadt@
   - 2001/02/08 21:58:28
     nuke sprintf, ok deraadt@
   - 2001/02/06 22:43:02
     remove confusing callback code
   - 2001/02/08 14:39:36
   - 2001/02/08 19:30:52
     sync with netbsd tree changes.
     - more strict prototypes, include necessary headers
     - use paths.h/pathnames.h decls
     - size_t typecase to int -> u_long
   - 2001/02/07 18:04:50
     fix size_t -> int cast (use u_long).  markus ok
   - 2001/02/07 22:43:16
     s/getline/Linebuf_getline/; from
   - 2001/02/09 9:04:59
     do not assume malloc() returns zero-filled region.  found by
   - 2001/02/08 22:35:30
     don't connect if batch_mode is true and stricthostkeychecking set to
   - 2001/02/04 21:26:07
     type: ok markus@
   - 2001/02/06 22:07:50
     enable sftp-server by default
   - deraadt 2001/02/07 8:57:26
     deal with new ANSI malloc stuff
   - 2001/02/07 16:46:08
     typo in fatal()
   - 2001/02/07 18:04:50
     fix size_t -> int cast (use u_long).  markus ok
   - 1.47 Thu Feb 8 23:11:42 GMT 2001 by dugsong
     [serverloop.c sshconnect1.c]
     mitigate SSH1 traffic analysis - from Solar Designer
     <>, ok provos@
 - (bal) fixed sftp-client.c.  Return 'status' instead of '0'
   (from the OpenBSD tree)
 - (bal) Synced ssh.1, ssh-add.1 and sshd.8 w/ OpenBSD
 - (bal) sftp-sever.c  '%8lld' to '%8llu' (OpenBSD Sync)
 - (bal) uuencode.c resync w/ OpenBSD tree, plus whitespace.
 - (bal) A bit more whitespace cleanup
 - (djm) Set PAM_RHOST earlier, patch from Andrew Bartlett
 - (stevesk) misc.c: ssh.h not needed.
 - (stevesk) compat.c: more friendly cpp error
 - (stevesk) OpenBSD sync:
   - 2001/02/11 06:15:57
     typos and small cleanup; ok deraadt@

 - (djm) Sync sftp and scp stuff from OpenBSD:
   -     2001/02/07 03:55:13
     Don't free handles before we are done with them. Based on work from
     Corinna Vinschen <>. ok markus@
   -     2001/02/06 22:32:53
     Punctuation fix from Pekka Savola <>
   - 2001/02/07 04:07:29
     pretty up significantly
   -  2001/02/07 06:49:42
     .Bl-.El mismatch.  markus ok
   -     2001/02/07 06:12:30
     Check that target is a directory before doing ls; ok markus@
   -  2001/02/07 11:01:18
     [scp.c sftp-client.c sftp-server.c]
     unsigned long long -> %llu, not %qu.  markus ok
   - 2001/02/07 11:10:39
     [sftp.1 sftp-int.c]
     more man page cleanup and sync of help text with man page; ok markus@
   -  2001/02/07 14:58:34
     older servers reply with SSH2_FXP_NAME + count==0 instead of EOF
   -     2001/02/07 15:27:19
     Don't forward agent and X11 in sftp. Suggestion from Roumen Petrov
   - 2001/02/07 15:36:04
     portable; ok markus@
   - 2001/02/07 15:55:47
     lowercase cmds[].c also; ok markus@
   -  2001/02/07 17:04:52
     [pathnames.h sftp.c]
     allow sftp over ssh protocol 1; ok djm@
   - 2001/02/08 07:38:55
     memory leak fix, and snprintf throughout
   - 2001/02/08 08:02:02
     plug a memory leak
   - 2001/02/08 10:11:23
     [session.c sftp-client.c]
     %i -> %d
   - 2001/02/08 10:57:59
   - 2001/02/08 15:28:07
     [sftp-int.c pathnames.h]
     _PATH_LS; ok markus@
   -     2001/02/09 04:46:25
     Check for NULL attribs for chown, chmod & chgrp operations, only send
     relevant attribs back to server; ok markus@
   -     2001/02/06 15:05:25
     Use getopt to process commandline arguments
   -     2001/02/06 15:06:21
     [sftp.c ]
     Wait for ssh subprocess at exit
   -     2001/02/06 15:18:16
     stat target for remote chdir before doing chdir
   -     2001/02/06 15:32:54
     Punctuation fix from Pekka Savola <>
   -  2001/02/05 22:22:02
     cleanup get_pathname, fix pwd after failed cd. okay djm@
 - (djm) Update for _PATH_SFTP_SERVER
 - (bal) sftp-client.c replace NULL w/ 0 in do_ls() (pending in OpenBSD tree)

 - (bal) patch to vis.c to deal with HAVE_VIS right by Robert Mooney
 - (bal) .c.o rule in openbsd-compat/ did not make it to the
   main tree while porting forward.  Pointed out by Lutz Jaenicke
 - (bal) double entry in  Pointed out by Lutz Jaenicke
 - (stevesk) OpenBSD sync:
   -  2001/02/08 11:20:01
     strict checking
   -  2001/02/08 11:15:22
     update to 2.3.2
   -  2001/02/08 11:12:30
     fix typo
 - (djm) Update spec files
 - (bal) OpenBSD sync:
   - 2001/02/08 14:38:54
     memory leak fix, and snprintf throughout
   - 2001/02/06 22:43:02
     remove confusing callback code
 - (djm) Add CVS Id's to files that we have missed
 - (bal) OpenBSD Sync (more):
   - 2001/02/08 19:30:52
     sync with netbsd tree changes.
     - more strict prototypes, include necessary headers
     - use paths.h/pathnames.h decls
     - size_t typecase to int -> u_long
   - 2001/02/06 22:07:42
     fatal() if subsystem fails
   - 2001/02/06 22:43:02
     remove confusing callback code
   - 2001/02/06 23:03:24
     add -1 option (force protocol version 1). ok markus@
   - 2001/02/06 23:06:21
     reorder -{1,2,4,6} options. ok markus@
 - (bal) Missing 'const' in readpass.h
 - (bal) OpenBSD Sync (so at least the thing compiles for 2.3.2 =)
   - 2001/02/06 23:30:28
     replace arc4random with counter for request ids; ok markus@
 - (djm) Define _PATH_TTY for systems that don't. Report from Lutz
   Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>

 - (djm) Don't delete external askpass program in make uninstall target.
   Report and fix from Roumen Petrov <>
 - (djm) Fix linking of sftp, don't need arc4random any more.
 - (djm) Try to use shell that supports "test -S" for EGD socket search.
   Based on patch from Tim Rice <>

 - (bal) Save the whole path to AR in configure.  Some Solaris 2.7 installs
   seem lose track of it while in openbsd-compat/  (two confirmed reports)
 - (djm) Much KNF on PAM code
 - (djm) Revise auth-pam.c conversation function to be a little more
 - (djm) Revise kbd-int PAM conversation function to fold all text messages
   to before first prompt. Fixes hangs if last pam_message did not require
   a reply.
 - (djm) Fix password changing when using PAM kbd-int authentication

 - (bal) Disable groupaccess by setting NGROUPS_MAX to 0 for platforms
   that don't have NGROUPS_MAX.
 - (bal) AIX patch for auth1.c by William L. Jones <>
 - (stevesk) OpenBSD sync:
   - 2001/02/04 08:32:27
     [many files; did this manually to our top-level source dir]
     unexpand and remove end-of-line whitespace; ok markus@
   - 2001/02/04 15:21:19
     SSH2_FILEXFER_ATTR_UIDGID support; ok markus@
   - 2001/02/04 17:02:32
     ? == help
   - 2001/02/04 16:47:46
     sort commands, so that abbreviations work as expected
   - 2001/02/04 15:17:52
     debugging sftp: precedence and missing break.  chmod, chown, chgrp
     seem to be working now.
   - 2001/02/04 14:41:21
     use base 8 for umask/chmod
   - 2001/02/04 11:11:54
     fix LCD
   -  2001/02/04 08:10:44
   - 2001/02/04 06:30:12
     [auth2.c authfd.c packet.c]
     remove duplicate #include's; ok markus@
   - 2001/02/04 16:56:23
     [scp.c sshd.c]
     alpha happiness
   - 2001/02/04 15:12:17
     precedence; ok markus@
   - 2001/02/04 08:14:15
     [ssh.c sshd.c]
     make the alpha happy
   -  2001/01/31 13:37:24
     [channels.c channels.h serverloop.c ssh.c]
     do not disconnect if local port forwarding fails, e.g. if port is
     already in use
   -  2001/02/01 14:58:09
     use ipaddr in channel messages, ietf-secsh wants this
   -  2001/01/31 12:26:20
     [channels.c] does not send additional info in CHANNEL_OPEN_FAILURE
     messages; bug report from
   -  2001/01/31 13:48:09
   - 2001/02/04 08:23:08
     [sftp-client.c sftp-server.c]
     make gcc on the alpha even happier

 - (bal) I think this is the last of the bsd-*.h that don't belong.
 - (bal) Minor Makefile fix
 - (bal) openbsd-compat/Makefile minor fix.  Ensure dependancies are done
 - (bal) Changed order of LIB="" in -with-skey due to library resolving.
 - (bal) next-posix.h changed to bsd-nextstep.h
 - (djm) OpenBSD CVS sync:
   -  2001/02/03 03:08:38
     [auth-options.c auth-rh-rsa.c auth-rhosts.c auth.c canohost.c]
     [canohost.h servconf.c servconf.h session.c sshconnect1.c sshd.8]
     make ReverseMappingCheck optional in sshd_config; ok djm@,dugsong@
   -  2001/02/03 03:19:51
     [ssh.1 sshd.8 sshd_config]
     Skey is now called ChallengeResponse
   -  2001/02/03 03:43:09
     use no-pty option in .ssh/authorized_keys* if you need a 8-bit clean
     channel. note from (pr/1659)
   - 2001/02/03 10:03:06
     typos; ok markus@
   -     2001/02/04 04:11:56
     [scp.1 sftp-server.c ssh.1 sshd.8 sftp-client.c sftp-client.h]
     [sftp-common.c sftp-common.h sftp-int.c sftp-int.h sftp.1 sftp.c]
     Basic interactive sftp client; ok theo@
 - (djm) Update RPM specs for new sftp binary
 - (djm) Update several bits for new optional reverse lookup stuff. I
   think I got them all.
 - (djm) fixes
 - (stevesk) add mysignal() wrapper and use it for the protocol 2
   SIGCHLD handler.
 - (djm) Use setvbuf() instead of setlinebuf(). Suggest from stevesk@

 - (bal) Cygwin clean up by Corinna Vinschen <>
 - (bal) renamed queue.h to fake-queue.h (even if it's an OpenBSD
   based file) to ensure #include space does not get confused.
 - (bal) Minor tweak.  dirname may not exist on some
   platforms so builds fail.  (NeXT being a well known one)

 - (bal) Makefile fix where sourcedir != builddir by Corinna Vinschen
 - (bal) Makefile fix to use $(MAKE) instead of 'make'  for platforms
   that use 'gmake'.   Patch by Tim Rice <>

 - (bal) Minor fix to Makefile to stop rebuilding executables if no
   changes have occured to any of the supporting code.  Patch by
   Roumen Petrov <>

 - (djm) OpenBSD CVS Sync:
   -     2001/01/30 15:48:53
     Make warning message a little more consistent. ok markus@
 - (djm) Fix autoconf logic for --with-lastlog=no Report and diagnosis from
   Philipp Buehler <> and Kevin Steves <>
 - (djm) Don't log SSH2 PAM KbdInt responses to debug, they may contain
 - (bal) Reorder.  Move all bsd-*, fake-*, next-*, and cygwin* stuff to
   openbsd-compat/.  And resolve all ./configure and issues

 - (djm) OpenBSD CVS Sync:
   -  2001/01/29 09:55:37
     [channels.c channels.h clientloop.c serverloop.c]
     fix select overflow; ok deraadt@ and stevesk@
   -  2001/01/29 12:42:35
     [canohost.c canohost.h channels.c clientloop.c]
     add get_peer_ipaddr(socket), x11-fwd in ssh2 requires ipaddr, not DNS
   -  2001/01/29 12:47:32
     [rsa.c rsa.h ssh-agent.c sshconnect1.c sshd.c]
     handle rsa_private_decrypt failures; helps against the Bleichenbacher
     pkcs#1 attack
   -     2001/01/29 05:36:11
     [ssh.1 ssh.c]
     Allow invocation of sybsystem by commandline (-s); ok markus@
 - (stevesk) remove duplicate PROG_LS

 - (stevesk) sftp-server.c: use %lld vs. %qd

 - (bal) Put USE_PIPES back into sco3.2v5
 - (bal) OpenBSD Sync
   - 2001/01/28 10:15:34
     re-keying is not supported; ok deraadt@
   - 2001/01/28 10:24:04
     [ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 sshd.8]
     cleanup AUTHORS sections
   - 2001/01/28 10:37:26
     [sshd.c sshd.8]
     remove -Q, no longer needed
   - 2001/01/28 20:36:16
     [readconf.c ssh.1]
     ``StrictHostKeyChecking ask'' documentation and small cleanup.
     ok markus@
   - 2001/01/28 20:43:25
     spelling.  ok markus@
   - 2001/01/28 20:53:21
     use size_t for strlen() return.  ok markus@
   - 2001/01/28 22:27:05
     spelling.  use sizeof vs. strlen().  ok markus@
   - 2001/01/29 1:59:14
     [atomicio.h canohost.h clientloop.h deattack.h dh.h dispatch.h
      groupaccess.c groupaccess.h hmac.h hostfile.h includes.h kex.h
      key.h log.h login.h match.h misc.h myproposal.h pathnames.h
      radix.h readpass.h rijndael.h serverloop.h session.h sftp.h ssh-add.1
      ssh-dss.h ssh-keygen.1 ssh-keyscan.1 ssh-rsa.h ssh1.h ssh_config
      sshconnect.h sshd_config tildexpand.h uidswap.h uuencode.h]
  - (bal) Minor auth2.c resync.  Whitespace and moving of an #include.

 - (bal) SSH_PROGRAM vs _PATH_SSH_PROGRAM fix pointed out by Roumen
   Petrov <>
 - (bal) OpenBSD Sync
   - 2001/01/25 8:06:33
     call _exit() in signal handler

 - (djm) Sync bsd-* support files:
   - 2000/01/26 03:43:20
     [rresvport.c bindresvport.c]
     new bindresvport() semantics that itojun, shin, jean-luc and i have
     agreed on, which will be happy for the future. bindresvport_sa() for
     sockaddr *, too.  docs later..
   - 2000/01/24 02:24:21
     in bindresvport(), if sin is non-NULL, example sin->sin_family for
     the actual family being processed
 - (djm) Mention PRNGd in documentation, it is nicer than EGD
 - (djm) Automatically search for "well-known" EGD/PRNGd sockets in autoconf
 - (bal) AC_FUNC_STRFTIME added to autoconf
 - (bal) OpenBSD Resync
   - 2001/01/24 21:03:50
     missing freeaddrinfo(); ok markus@

 - (bal) OpenBSD Resync
   - 2001/01/23 10:45:10
     nuke comment
 - (bal) no 64bit support patch from Tim Rice <>
 - (bal) #ifdef around S_IFSOCK if platform does not support it.
   patch by Tim Rice <>
 - (bal) fake-regex.h cleanup based on Tim Rice's patch.
 - (stevesk) sftp-server.c: fix chmod() mode mask

 - (bal) regexp.h typo in  Should have been regex.h
 - (bal) SSH_USER_DIR to _PATH_SSH_USER_DIR patch by stevesk@
 - (bal) OpenBSD Resync
   - 2001/01/22 8:15:00
     [auth-krb4.c sshconnect1.c]
     only AFS needs radix.[ch]
   - 2001/01/22 8:32:53
     no need to include; from
   - 2001/01/22 16:55:21
     free() -> xfree(); ok markus@
   - 2001/01/22 17:22:28
     [sshconnect2.c sshd.c]
     fix memory leaks in SSH2 key exchange; ok markus@
   - 2001/01/22 23:06:39
     [auth1.c auth2.c readconf.c readconf.h servconf.c servconf.h
      sshconnect1.c sshconnect2.c sshd.c]
     rename skey -> challenge response.
     auto-enable kbd-interactive for ssh2 if challenge-reponse is enabled.

 - (bal) OpenBSD Resync
   - 2001/01/19 12:45:26 GMT 2001 by markus
     [servconf.c ssh.h sshd.c]
     only auth-chall.c needs #ifdef SKEY
   - 2001/01/19 15:55:10 GMT 2001 by markus
     [auth-krb4.c auth-options.c auth-rh-rsa.c auth-rhosts.c auth-rsa.c
      auth1.c auth2.c channels.c clientloop.c dh.c dispatch.c nchan.c
      packet.c pathname.h readconf.c scp.c servconf.c serverloop.c
      session.c ssh-add.c ssh-keygen.c ssh-keyscan.c ssh.c ssh.h
      ssh1.h sshconnect1.c sshd.c ttymodes.c]
     move ssh1 definitions to ssh1.h, pathnames to pathnames.h
   - 2001/01/19 16:48:14
     fix typo; from stevesk@
   - 2001/01/19 16:50:58
     clear and free digest, make consistent with other code (use dlen); from
   - 2001/01/20 15:55:20 GMT 2001 by markus
     [auth-options.c auth-options.h auth-rsa.c auth2.c]
     pass the filename to auth_parse_options()
   - 2001/01/20 17:59:40 GMT 2001
     fix SIGSEGV from -o ""; problem noted by
   - 2001/01/20 18:20:29
     dh_new_group() does not return NULL.  ok markus@
   - 2001/01/20 21:33:42
     do not loop forever if askpass does not exist; from
   - 2001/01/20 23:00:56
     Check for NULL return from strdelim; ok markus
   - 2001/01/20 23:02:07
     KNF; ok markus
   - 2001/01/21 9:00:33
     remove -R flag; ok markus@
   - 2001/01/21 19:05:40
     [atomicio.c automicio.h auth-chall.c auth-krb4.c auth-options.c
      auth-options.h auth-passwd.c auth-rh-rsa.c auth-rhosts.c auth-rsa.c
      auth.c auth.h auth1.c auth2-chall.c auth2.c authfd.c authfile.c
      bufaux.c  bufaux.h buffer.c canahost.c canahost.h channels.c
      cipher.c cli.c clientloop.c clientloop.h compat.c compress.c
      deattack.c dh.c dispatch.c groupaccess.c hmac.c hostfile.c kex.c
      key.c key.h log-client.c log-server.c log.c log.h login.c login.h
      match.c misc.c misc.h nchan.c packet.c pty.c radix.h readconf.c
      readpass.c readpass.h rsa.c scp.c servconf.c serverloop.c serverloop.h
      session.c sftp-server.c ssh-add.c ssh-agent.c ssh-dss.c ssh-keygen.c
      ssh-keyscan.c ssh-rsa.c ssh.c ssh.h sshconnect.c sshconnect.h
      sshconnect1.c sshconnect2.c sshd.c tildexpand.c tildexpand.h
      ttysmodes.c uidswap.c xmalloc.c]
     split ssh.h and try to cleanup the #include mess. remove unnecessary
     #includes.  rename util.[ch] -> misc.[ch]
 - (bal) renamed 'PIDDIR' to '_PATH_SSH_PIDDIR' to match OpenBSD tree
 - (bal) Moved #ifdef KRB4 in auth-krb4.c above the #include to resolve
   conflict when compiling for non-kerb install
 - (bal) removed the #ifdef SKEY in auth1.c to match Markus' changes
   on 1/19.

 - (bal) OpenBSD Resync
   - 2001/01/19 12:45:26
     [ssh-chall.c servconf.c servconf.h ssh.h sshd.c]
     only auth-chall.c needs #ifdef SKEY
 - (bal) Slight auth2-pam.c clean up.
 - (bal) Includes a fake-regexp.h to be only used if regcomp() is found,
   but no 'regexp.h' found (SCO OpenServer 3 lacks the header).

 - (djm) Update versions in RPM specfiles
 - (bal) OpenBSD Resync
   - 2001/01/18 16:20:21
     [log-client.c log-server.c log.c readconf.c servconf.c ssh.1 ssh.h
      sshd.8 sshd.c]
     log() is at pri=LOG_INFO, since LOG_NOTICE goes to /dev/console on many
   - 2001/01/18 16:59:59
     [auth-passwd.c auth.c auth.h auth1.c auth2.c serverloop.c session.c
      session.h sshconnect1.c]
     1) removes fake skey from sshd, since this will be much
        harder with /usr/libexec/auth/login_XXX
     2) share/unify code used in ssh-1 and ssh-2 authentication (server side)
     3) make addition of BSD_AUTH and other challenge reponse methods
   - 2001/01/18 17:12:43
     [auth-chall.c auth2-chall.c]
     rename *-skey.c *-chall.c since the files are not skey specific
 - (djm) Merge patch from Tim Waugh (via Nalin Dahyabhai <>)
   to fix NULL pointer deref and fake authloop breakage in PAM code.
 - (bal) Updated contrib/cygwin/ by Corinna Vinschen <>
 - (bal) Minor cygwin patch to auth1.c.  Suggested by djm.

 - (bal) Super Sized OpenBSD Resync
   - 2001/01/11 22:14:20 GMT 2001 by markus
   - 2001/01/13 17:59:18
     small ssh-keygen manpage cleanup;
   - 2001/01/13 18:03:07
     [scp.c ssh-keygen.c sshd.c]
     getopt() returns -1 not EOF;
   - 2001/01/13 18:06:54
     use SSH_DEFAULT_PORT; from
   - 2001/01/13 18:12:47
     free() -> xfree(); fix memory leak; from
   - 2001/01/13 18:14:13
     typo, from
   - 2001/01/13 18:32:50
     [packet.c session.c ssh.c sshconnect.c sshd.c]
     split out keepalive from packet_interactive (from
   - 2001/01/13 18:36:45
     [packet.c packet.h]
     reorder, typo
   - 2001/01/13 18:38:00
     fix comment
   - 2001/01/13 18:43:31
   - 2001/01/13 19:14:08
     [clientloop.h clientloop.c ssh.c]
     move callback to headerfile
   - 2001/01/15 21:40:10
     use log() instead of stderr
   - 2001/01/15 21:43:51
     use error() not stderr!
   - 2001/01/15 21:45:29
     rename must fail if newpath exists, debug off by default
   - 2001/01/15 21:46:38
     readable long listing for sftp-server, ok deraadt@
   - 2001/01/16 19:20:06
     [key.c ssh-rsa.c]
     make "ssh-rsa" key format for ssh2 confirm to the ietf-drafts; from  note that you have to delete older ssh2-rsa keys,
     since they are in the wrong format, too. they must be removed from
     .ssh/authorized_keys2 and .ssh/known_hosts2, etc.
     (cd; grep -v ssh-rsa .ssh/authorized_keys2 > TMP && mv TMP
     .ssh/authorized_keys2) additionally, we now check that
     BN_num_bits(rsa->n) >= 768.
   - 2001/01/16 20:54:27
     remove some statics. simpler handles; idea from
   - 2001/01/16 23:58:08
     [bufaux.c radix.c sshconnect.h sshconnect1.c]
 - (bal) Added bsd-strmode.[ch] since some non-OpenBSD platforms may
   be missing such feature.

 - (djm) Only write random seed file at exit
 - (djm) Make PAM support optional, enable with --with-pam
 - (djm) Try to use libcrypt on Linux, but link it after OpenSSL (which
   provides a crypt() of its own)
 - (djm) Avoid a warning in bsd-bindresvport.c
 - (djm) Try to avoid adding -I/usr/include to CPPFLAGS during SSL tests. This
   can cause weird segfaults errors on Solaris
 - (djm) Avoid warning in PAM code by making read_passphrase arguments const
 - (djm) Add --with-pam to RPM spec files

 - (bal) sftp-server.c change to use chmod() if fchmod() does not exist.
 - (bal) utimes() support via utime() interface on machine that lack utimes().

 - (stevesk) initial work for OpenBSD "support supplementary group in
   {Allow,Deny}Groups" patch:
   - import getgrouplist.c from OpenBSD (bsd-getgrouplist.c)
   - add bsd-getgrouplist.h
   - new files groupaccess.[ch]
   - build but don't use yet (need to merge auth.c changes)
 - (stevesk) complete:
   -  2001/01/13 11:56:48
     [auth.c sshd.8]
     support supplementary group in {Allow,Deny}Groups

 - (bal) OpenBSD Sync
   - 2001/01/10 22:56:22
     [bufaux.h bufaux.c sftp-server.c sftp.h getput.h]
     cleanup sftp-server implementation:
     add buffer_get_int64, buffer_put_int64, GET_64BIT, PUT_64BIT
     send SSH2_FX_EOF if readdir returns no more entries
     reply to SSH2_FXP_EXTENDED message
     use #defines from the draft
     move #definations to sftp.h
     more info:
   - 2001/01/10 19:43:20
     XXX - generate_empheral_server_key() is not safe against races,
     because it calls log()
   - 2001/01/09 21:19:50
     allow TCP_NDELAY for ipv6; from netbsd via itojun@

 - (djm) SNI/Reliant Unix needs USE_PIPES and $DISPLAY hack. Report from
   Bladt Norbert <>

 - (bal) Resync CVS ID of cli.c
 - (stevesk) auth1.c: free should be after WITH_AIXAUTHENTICATE
 - (bal) OpenBSD Sync
   - 2001/01/08 22:29:05
     [auth2.c compat.c compat.h servconf.c servconf.h sshd.8
      sshd_config version.h]
     implement option 'Banner /etc/' for ssh2, move version to
     2.3.1 (needed for bugcompat detection, 2.3.0 would fail if Banner
     is enabled).
   - 2001/01/08 22:03:23
     [channels.c ssh-keyscan.c]
     O_NDELAY -> O_NONBLOCK; thanks
   - 2001/01/08 21:55:41
     more cleanups and fixes from
     1) try_agent_authentication() for loop will overwrite key just
        allocated with key_new(); don't alloc
     2) call ssh_close_authentication_connection() before exit
     3) free mem on bad passphrase in try_rsa_authentication()
   - 2001/01/08 21:48:17
     missing free; thanks
  - (bal) Detect if clock_t structure exists, if not define it.
  - (bal) Detect if O_NONBLOCK exists, if not define it.
  - (bal) removed news4-posix.h (now empty)
  - (bal) changed bsd-bindresvport.c and bsd-rresvport.c to use 'socklen_t'
    instead of 'int'
 - (stevesk) sshd_config: sync
 - (stevesk) defines.h: remove spurious ``;''

 - (bal) Fixed another typo in cli.c
 - (bal) OpenBSD Sync
   - 2001/01/07 21:26:55
   - 2001/01/07 21:26:55
     missing free,
   - 2001/01/07 19:06:25
     missing free,
   - 2001/01/07 11:28:04
     [log-client.c log-server.c log.c readconf.c servconf.c ssh.1
      ssh.h sshd.8 sshd.c]
     syslog priority changes:
             fatal() LOG_ERR  -> LOG_CRIT
             log()   LOG_INFO -> LOG_NOTICE
 - Updated TODO

 - (bal) OpenBSD Sync
   - 2001/01/06 11:23:27
     remove unused
   - 2001/01/05 08:23:29
     missing .El
   - 2001/01/04 22:41:03
     [session.c sshconnect.c]
     consistent use of _PATH_BSHELL; from
   - 2001/01/04 22:35:32
     [ssh.1 sshd.8]
     Mention AES as available SSH2 Cipher; ok markus
   - 2001/01/04 22:25:58
     sync usage()/man with defaults; from
   - 2001/01/04 22:21:26
     handle SSH2_MSG_USERAUTH_BANNER; fixes bug when connecting to a server
     that prints a banner (e.g. /etc/

 - (bal) contrib/caldera/ provided by Tim Rice <>
 - (bal) bsd-getcwd.c and bsd-setenv.c changed from bcopy() to memmove()

 - (djm) Fix memory leak on systems with BROKEN_GETADDRINFO. Based on
   work by Chris Vaughan <>

 - (bal) fixed up sshconnect.c so it was closer inline with the OpenBSD
   tree (mainly positioning)
 - (bal) OpenSSH CVS Update
   - 2001/01/02 20:41:02
     log remote ip on disconnect; PR 1600 from
   - 2001/01/02 20:50:56
     strict_host_key_checking for host_status != HOST_CHANGED &&
     ip_status == HOST_CHANGED
 - (bal) authfile.c: Synced CVS ID tag
 - (bal) UnixWare 2.0 fixes by Tim Rice <>
 - (bal) Disable sftp-server if no 64bit int support exists.  Based on
   patch by Tim Rice <>
 - (bal) changes to uninstall: target to remove sftp-server
   and sftp-server.8 manpage.

 - (bal) OpenBSD CVS Update
   - 2001/01/01 14:52:49
     use shared fatal(); from

 - (bal) Reverted out of MAXHOSTNAMELEN.  This should be set per OS.
   for multiple reasons.
 - (bal) Reverted out of a partial NeXT patch.

 - (bal) OpenBSD CVS Update
   - 2000/12/28 18:58:30
     enable 'ssh-keygen -l -f ~/.ssh/{authorized_keys,known_hosts}{,2}
   - 2000/12/29 22:19:13
     missing xfree; from
 - (bal) Resynced CVS ID with OpenBSD for channel.c and uidswap.c
 - (bal) if no MAXHOSTNAMELEN is defined.  Default to 64 character defination.
   Suggested by Christian Kurz <>
 - (bal) Add in '.c.o' section to to address make programs that
    don't honor CPPFLAGS by default.  Suggested by Lutz Jaenicke

 - (bal) Fixed spelling of 'authorized_keys' in ssh-copy-id.1 by Christian
   Kurz <>
 - (bal) OpenBSD CVS Update
   - 2000/12/28 14:25:51
     [auth.h auth2.c]
     count authentication failures only
   - 2000/12/28 14:25:03
     fingerprint for MITM attacks, too.
   - 2000/12/28 12:03:57
     [sshd.8 sshd.c]
     document -D
   - 2000/12/27 14:19:21
     less chatty
   - 2000/12/27 12:34
     [auth1.c sshconnect2.c sshd.c]
   - 2000/12/27 12:30:19
     [readconf.c readconf.h ssh.1 sshconnect.c]
     new option: HostKeyAlias: allow the user to record the host key
     under a different name. This is useful for ssh tunneling over
     forwarded connections or if you run multiple sshd's on different
     ports on the same machine.
   - 2000/12/27 11:51:53
     [ssh.1 ssh.c]
     multiple -t force pty allocation, document ORIGINAL_COMMAND
   - 2000/12/27 11:41:31
     update for ssh-2
 - (stevesk) compress.[ch] sync with openbsd; missed in prototype
   fix merge.

 - (bal) Patch to add libutil.h to loginrec.c only if the platform has
   libutil.h.  Suggested by Pekka Savola <>
 - (djm) Update to new x11-askpass in RPM spec
 - (bal) SCO patch to not include <sys/queue.h> since it's unrelated
   header.  Patch by Tim Rice <>
 - Updated TODO w/ known HP/UX issue
 - (bal) removed extra <netdb.h> noticed by Kevin Steves and removed the
   bad reference to 'NeXT including it else were' on the #ifdef version.

 - (bal) Typo in entut?ent should be endut?ent.  Suggested by
   Takumi Yamane <>
 - (bal) Checks for getrlimit(), sysconf(), and setdtablesize().  Patch
   by Corinna Vinschen <>
 - (djm) Fix catman-do target for non-bash
 - (bal) Typo in entut?ent should be endut?ent.  Suggested by
   Takumi Yamane <>
 - (bal) Checks for getrlimit(), sysconf(), and setdtablesize().  Patch
   by Corinna Vinschen <>
 - (djm) Fix catman-do target for non-bash
 - (bal) Fixed NeXT's lack of CPPFLAGS honoring.
 - (bal) ssh-keyscan.c: NeXT (and older BSDs) don't support getrlimit() w/
 - (djm) Remove *.Ylonen files. They are no longer in the OpenBSD tree,
   the info in COPYING.Ylonen has been moved to the start of each
   SSH1-derived file and README.Ylonen is well out of date.

 - (bal) Fixed to support recompile of all ssh and sshd objects
   if a change to config.h has occurred.  Suggested by Gert Doering
 - (bal) OpenBSD CVS Update:
   - 2000/12/22 16:49:40
     fix ssh-keygen -x -t type > file; from

 - Updated RCSID for pty.c
 - (bal) OpenBSD CVS Updates:
  - 2000/12/21 15:10:16
    [auth-rh-rsa.c hostfile.c hostfile.h sshconnect.c]
    print keyfile:line for changed hostkeys, for deraadt@, ok deraadt@
  - 2000/12/20 19:26:56
    allow ssh -i userkey for root
  - 2000/12/20 19:37:21
    [authfd.c authfd.h kex.c sshconnect2.c sshd.c uidswap.c uidswap.h]
    fix prototypes; from
  - 2000/12/20 19:32:08
    init pointer to NULL; report from
  - 2000/12/19 23:17:54
    [auth-krb4.c auth-options.c auth-options.h auth-rhosts.c auth-rsa.c
     auth1.c auth2-skey.c auth2.c authfd.c authfd.h authfile.c bufaux.c
     bufaux.h buffer.c canohost.c channels.c clientloop.c compress.c
     crc32.c deattack.c getput.h hmac.c hmac.h hostfile.c kex.c kex.h
     key.c key.h log.c login.c match.c match.h mpaux.c mpaux.h packet.c
     packet.h radix.c readconf.c rsa.c scp.c servconf.c servconf.h
     serverloop.c session.c sftp-server.c ssh-agent.c ssh-dss.c ssh-dss.h
     ssh-keygen.c ssh-keyscan.c ssh-rsa.c ssh-rsa.h ssh.c ssh.h  uuencode.c
     uuencode.h sshconnect1.c sshconnect2.c sshd.c tildexpand.c]
    replace 'unsigned bla' with 'u_bla' everywhere. also replace 'char
    unsigned' with u_char.

 - (stevesk) OpenBSD CVS updates:
   - 2000/12/19 15:43:45
     [authfile.c channels.c sftp-server.c ssh-agent.c]
     remove() -> unlink() for consistency
   - 2000/12/19 15:48:09
     replace <ssl/x.h> with <openssl/x.h>
   - 2000/12/17 02:33:40
     typo; from

 - (djm) Workaround PAM inconsistencies between Solaris derived PAM code
   and Linux-PAM. Based on report and fix from Andrew Morgan

 - (stevesk) rsa.c: entropy.h not needed.
 - (bal) split CFLAGS into CFLAGS and CPPFLAGS in and Makefile.
   Suggested by Wilfredo Sanchez <>

 - (stevesk) OpenBSD CVS updates:
   - 2000/12/16 02:53:57
     allow + in usernames; request from Florian.Weimer@RUS.Uni-Stuttgart.DE
   - 2000/12/16 02:39:57
     unused; from

 - (stevesk) Old OpenBSD patch wasn't completely applied:
   - 2000/01/24 22:11:20
     allow '.' in usernames; from
 - (stevesk) OpenBSD CVS updates:
   - 2000/12/13 16:26:53
     fatal already adds \n; from
   - 2000/12/13 16:25:44
     remove redundant spaces; from
   - 2000/12/12 15:50:21
     When failing to set tty owner and mode on a read-only filesystem, don't
     abort if the tty already has correct owner and reasonably sane modes.
     Example; permit 'root' to login to a firewall with read-only root fs.
     (markus@ ok)
   - 2000/12/13 06:36:05
   - 2000/12/12 14:45:21
     source port < 1024 is no longer required for rhosts-rsa since it
     adds no additional security.
   - 2000/12/12 16:11:49
     [ssh.1 ssh.c]
     rhosts-rsa is no longer automagically disabled if ssh is not privileged.
     UsePrivilegedPort=no disables rhosts-rsa _only_ for old servers.
     these changes should not change the visible default behaviour of the ssh client.
   - 2000/12/11 10:27:33
     when copying 0-sized files, do not re-print ETA time at completion
   - 2000/12/15 10:30:15
     [kex.c kex.h sshconnect2.c sshd.c]
     compute diffie-hellman in parallel between server and client. okay markus@

 - (djm) Make sure we reset the SIGPIPE disposition after we fork. Report
   from Andreas M. Kirchwitz <>
 - (stevesk) OpenBSD CVS update:
   - 2000/12/12 15:30:02
     [ssh-keyscan.c ssh.c sshd.c]
     consistently use __progname; from

 - (bal) Applied patch to include ssh-keyscan into Redhat's package, and
   patch to install ssh-keyscan manpage.  Patch by Pekka Savola
 - (bal) OpenbSD CVS update
   - 2000/12/10 17:01:53
     always request new challenge for skey/tis-auth, fixes interop with
     other implementations; report from

 - (bal) OpenBSD CVS updates
   - 2000/12/09 13:41:51
     [cipher.c cipher.h rijndael.c rijndael.h rijndael_boxes.h]
     undo rijndael changes
   - 2000/12/09 13:48:31
     fix byte order bug w/o introducing new implementation
   - 2000/12/09 14:08:27
     "" -> "." for realpath; from
   - 2000/12/09 14:06:54
     extern int optind; from
   - 2000/12/09 23:51:11
     remove unnecessary '\n'

 - (bal) OpenBSD CVS updates:
   - 2000/12/07 4:24:59
     Typo fix from Wilfredo Sanchez <>; ok theo

 - (bal) OpenBSD CVS updates:
   - 2000/12/06 22:58:14
     [compat.c compat.h packet.c]
     disable debug messages for 2.0.1x, 2.1.0
   - 2000/12/06 23:10:39
   - 2000/12/06 23:05:43
     [cipher.c cipher.h rijndael.c rijndael.h rijndael_boxes.h]
     new rijndael implementation. fixes endian bugs

 - (bal) OpenBSD CVS updates:
   - 2000/12/05 20:34:09
     [channels.c channels.h clientloop.c serverloop.c]
     async connects for -R/-L; ok deraadt@
   - 2000/12/05 16:47:28
     tweak comment to reflect real location of pid file; ok provos@
 - (stevesk) Import <sys/queue.h> from OpenBSD for systems that don't
   have it (used in ssh-keyscan).
 - (stevesk) OpenBSD CVS update:
   - 2000/12/06 19:57:48
     err(3) -> internal error(), from

 - (bal) OpenBSD CVS updates:
   - 2000/12/04 19:24:02
     [ssh-keyscan.c ssh-keyscan.1]
     David Maziere's ssh-keyscan, ok niels@
 - (bal) Updated to include ssh-keyscan that was just added
   to the recent OpenBSD source tree.
 - (stevesk) fix typos in contrib/hpux/README

 - (bal) More C functions defined in NeXT that are unaccessable without
   defining -POSIX.
 - (bal) OpenBSD CVS updates:
   - 2000/12/03 11:29:04
     remove fallback to SSH_BUG_HMAC now that the drafts are updated
   - 2000/12/03 11:27:55
     correctly match "2.1.0.pl2 SSH" etc; from
   - 2000/12/03 11:15:03
     [auth2.c compat.c compat.h sshconnect2.c]
     support f-secure/ 2.0.12; ok niels@

 - (bal) OpenBSD CVS updates:
  - 2000/11/30 22:54:31
    debug->warn if tried to do -R style fwd w/o client requesting this;
    ok neils@
  - 2000/11/29 20:39:17
    des_cbc_encrypt -> des_ncbc_encrypt since it already updates the IV
  - 2000/11/30 18:33:05
    agents must not dump core, ok niels@
  - 2000/11/30 07:04:02
    T is for both protocols
  - 2000/12/01 00:00:51
    typo; from
  - 2000/11/30 07:02:35
    check -T before isatty()
  - 2000/11/29 13:51:27
    show IP address and hostname when new key is encountered. okay markus@
  - 2000/11/30 22:53:35
    disable agent/x11/port fwding if hostkey has changed; ok niels@
  - 2000/11/29 21:11:59
    sshd -D, startup w/o deamon(), for monitoring scripts or inittab;
    from and; ok niels@
 - (djm) Added patch from Nalin Dahyabhai <> to enable
   PAM authentication using KbdInteractive.
 - (djm) Added another TODO

 - (bal) Backed out of part of Alain St-Denis' loginrec.c patch.
 - (bal) Irix need some sort of mansubdir, patch by Michael Stone

 - (djm) Back out all the serverloop.c hacks. sshd will now hang again
   if there are background children with open fds.
 - (djm) bsd-rresvport.c bzero -> memset
 - (djm) Don't fail in defines.h on absence of 64 bit types (we will
   still fail during compilation of sftp-server).
 - (djm) Fail if ar is not found during configure
 - (djm) OpenBSD CVS updates:
   -  2000/11/22 08:38:31
     talk about /etc/primes, okay markus@
   -  2000/11/23 14:03:48
     [ssh.c sshconnect1.c sshconnect2.c]
     complain about invalid ciphers for ssh1/ssh2, fall back to reasonable
   -  2000/11/25 09:42:53
     reorder check for illegal ciphers, bugreport from espie@
   -  2000/11/25 10:19:34
     [ssh-keygen.c ssh.h]
     print keytype when generating a key.
     reasonable defaults for RSA1/RSA/DSA keys.
 - (djm) Patch from Pekka Savola <> to include a few
   more manpage paths in fixpaths calls
 - (djm) Also add xauth path at Pekka's suggestion.
 - (djm) Add Redhat RPM patch for AUTHPRIV SyslogFacility

 - (djm) Give up privs when reading seed file

 - (bal) Merge OpenBSD changes:
   -  2000/11/15 22:31:36
     case insensitive key options; from
   -  2000/11/16 17:55:43
     do not use perror() in sshd, after child is forked()
   -  2000/11/14 23:42:40
     parse option only if key matches; fix some confusing seen by the client
   -  2000/11/14 23:44:19
     check no_agent_forward_flag for ssh-2, too
   -  2000/11/15
     reorder SYNOPSIS; typo, use .It
   -  2000/11/14 23:48:55
     do not reorder keys if a key is removed
   -  2000/11/15 19:58:08
     just ignore non existing user keys
   -  200/11/15 20:24:43
     Add missing \n at end of error message.

 - (bal) Minor patch to ensure platforms lacking IRIX job limit supports
   are compilable.
 - (bal) Updated TODO as of 11/18/2000 with known things to resolve.

 - (bal) Changed from 'primes' to 'primes.out' for consistancy sake.  It
   has no affect the output.  Patch by Corinna Vinschen <>
 - (stevesk) Reworked progname support.
 - (bal) Misplaced #include "includes.h" in bsd-setproctitle.c.  Patch by
   Shinichi Maruyama <>

 - (bal) Added in MAXSYMLINK test in bsd-realpath.c.  Required for some SCO
 - (bal) Make builds work outside of source tree.  Patch by Mark D. Roth

 - (djm) Add pointer to to
 - (djm) Merge OpenBSD changes:
   -  2000/11/06 16:04:56
     [channels.c channels.h clientloop.c nchan.c serverloop.c]
     [session.c ssh.c]
     agent forwarding and -R for ssh2, based on work from
   -  2000/11/06 16:13:27
     [ssh.c sshconnect.c sshd.c]
     do not disabled rhosts(rsa) if server port > 1024; from
   -  2000/11/06 16:16:35
     downgrade client to 1.3 if server is 1.4; help from
   -  2000/11/09 18:04:40
     typo; from
   -  2000/11/12 12:03:28
     off-by-one when removing a key from the agent
   -  2000/11/12 12:50:39
     [auth-rh-rsa.c auth2.c authfd.c authfd.h]
     [authfile.c hostfile.c kex.c kex.h key.c key.h myproposal.h]
     [readconf.c readconf.h rsa.c rsa.h servconf.c servconf.h ssh-add.c]
     [ssh-agent.c ssh-keygen.1 ssh-keygen.c ssh.1 ssh.c ssh_config]
     [sshconnect1.c sshconnect2.c sshd.8 sshd.c sshd_config ssh-dss.c]
     [ssh-dss.h ssh-rsa.c ssh-rsa.h dsa.c dsa.h]
     add support for RSA to SSH2.  please test.
     there are now 3 types of keys: RSA1 is used by ssh-1 only,
     RSA and DSA are used by SSH2.
     you can use 'ssh-keygen -t rsa -f ssh2_rsa_file' to generate RSA
     keys for SSH2 and use the RSA keys for hostkeys or for user keys.
     SSH2 RSA or DSA keys are added to .ssh/authorised_keys2 as before.
 - (djm) Fix up Makefile and Redhat init script to create RSA host keys
 - (djm) Change to interim version
 - (djm) Fix RPM spec file stupidity
 - (djm) fixpaths to DSA and RSA keys too

 - (bal) SCO Patch to add needed libraries for  Patch by
   Phillips Porch <>
 - (bal) IRIX patch to adding Job Limits.  Patch by Denis Parker
 - (stevesk) pty.c: HP-UX 10 and 11 don't define TIOCSCTTY.  Add error() to
   failed ioctl(TIOCSCTTY) call.

 - (djm) Added /etc/primes for kex DH group neg, fixup and
   packaging files
 - (djm) Fix new warnings
 - (djm) Fix vsprintf("%h") in bsd-snprintf.c, short int va_args are
   promoted to type int. Report and fix from Dan Astoorian
 - (djm) Hardwire sysconfdir in RPM spec files as some RPM versions get
   it wrong. Report from Bennett Todd <>

 - (bal) Fixed dropped answer from skey_keyinfo() in auth1.c
 - (bal) Changed from --with-skey to --with-skey=PATH in
 - (bal) Added in check to verify S/Key library is being detected in
 - (bal) next-posix.h - added another prototype wrapped in POSIX ifdef/endif.
   Patch by Mark Miller <>
 - (bal) Added 'util.h' header to loginrec.c only if HAVE_UTIL_H is defined
   to remove warnings under MacOS X.  Patch by Mark Miller <>
 - (bal) Fixed LDFLAG mispelling in for --with-afs

 - (bal) - removed the double "USE_PIPES" entry. Patch by
   Mark Miller <>
 - (bal) sshd.init files corrected to assign $? to RETVAL.  Patch by
   Jarno Huuskonen <>
 - (bal) fixpaths fixed to stop it from quitely failing. Patch by
   Mark D. Roth <>

 - (djm) Use Jim's new 1.0.3 askpass in Redhat RPMs
 - (djm) Manually fix up missed diff hunks (mainly RCS idents)
 - (djm) Remove UPGRADING document in favour of a link to the better
   maintained FAQ on
 - (djm) Fix multiple dependancy on gnome-libs from Pekka Savola
 - (djm) Don't need X11-askpass in RPM spec file if building without it
   from Pekka Savola <>
 - (djm) Release 2.3.0p1
 - (bal) typo in in regards to --with-ldflags from Marko
   Asplund <>
 - (bal) fixed next-posix.h.  Forgot prototype of getppid().

 - (bal) Sync with OpenBSD:
   - 2000/10/31 9:31:58
     handle all old openssh versions
   - 2000/10/31 13:1853
     so that large packets do not wrap "n"; from netbsd
 - (bal) rijndel.c - fix up RCSID to match OpenBSD tree
 - (bal) auth2-skey.c - Checked in.  Missing from portable tree.
 - (bal) Reworked NEWS-OS and NeXT ports to extract waitpid() and
   setsid() into more common files
 - (stevesk) pty.c: use __hpux to identify HP-UX.
 - (bal) Missed auth-skey.o in and minor correction to

 - (stevesk) Fix typo in auth.c: USE_PAM not PAM
 - (stevesk) Create contrib/cygwin/ directory; patch from
   Corinna Vinschen <>
 - (bal) Resolved more $xno and $xyes issues in
 - (bal) next-posix.h - spelling and forgot a prototype

 - (djm) fix select hack in serverloop.c from Philippe WILLEM
 - (djm) Fix mangled AIXAUTHENTICATE code
 - (djm) authctxt->pw may be NULL. Fix from Markus Friedl
 - (djm) Sync with OpenBSD:
   -  2000/10/16 15:46:32
     fixes from
   -  2000/10/17 14:28:11
     return number of characters processed; ok deraadt@
   -  2000/10/18 12:04:02
   -  2000/10/18 12:23:02
     replace atomicio(read,...) with read(); ok deraadt@
   -  2000/10/18 12:42:00
     restore old record login behaviour
   - 2000/10/19 10:41:13
     fmt string problem in unused code
   -  2000/10/19 10:45:16
     don't reference freed memory. okay deraadt@
   -  2000/10/21 11:04:23
     typo,; ok niels@
   -  2000/10/23 13:31:55
     non-alignment dependent swap_bytes(); from
   -  2000/10/26 12:38:28
     add older vandyke products
   -  2000/10/27 01:32:19
     [channels.c channels.h clientloop.c serverloop.c session.c]
     [ssh.c util.c]
     enable non-blocking IO on channels, and tty's (except for the
     client ttys).

 - (djm) Increase REKEY_BYTES to 2^24 for arc4random

 - (djm) Added WARNING.RNG file and modified configure to ask users of the
   builtin entropy code to read it.
 - (djm) Prefer builtin regex to PCRE.
 - (bal) Added USE_PIPS defined to NeXT since scp hangs randomly.
 - (bal) Apply fixes to pointed out by Pavel Roskin

 - (djm) Don't define _REENTRANT for SNI/Reliant Unix
 - (bal) Imported NEWS-OS waitpid() macros into NeXT.  Since implementation
   is more correct then current version.

 - (stevesk) Add initial support for setproctitle().  Current
   support is for the HP-UX pstat(PSTAT_SETCMD, ...) method.
 - (stevesk) Add egd startup scripts to contrib/hpux/

 - (djm) Add -lregex to cywin libs from Corinna Vinschen
 - (djm) Don't rely on atomicio's retval to determine length of askpass
   supplied passphrase. Problem report from Lutz Jaenicke
 - (bal) Changed from GNU rx to PCRE on suggestion from djm.
 - (bal) Integrated Sony NEWS-OS patches from NAKAJI Hirouyuki

 - (djm) Sync with OpenBSD:
   -  2000/10/14 04:01:15
   -  2000/10/14 04:07:23
     remove spaces from arguments; from
   -  2000/10/14 06:09:46
     Cipher is for SSH-1 only
   -  2000/10/14 06:12:09
     [servconf.c servconf.h serverloop.c session.c sshd.8]
     AllowTcpForwarding; from naddy@
   -  2000/10/14 06:16:56
     [auth2.c compat.c compat.h sshconnect2.c version.h]
     OpenSSH_2.3; note that is is not complete, but the version number
     needs to be changed for interoperability reasons
   -  2000/10/14 06:19:45
     do not send RSA challenge if key is not allowed by key-options; from
   -  2000/10/15 08:14:01
     [rijndael.c session.c]
     typos; from
   -  2000/10/15 08:18:31
 - (djm) Copy manpages back over from OpenBSD - too tedious to wade
   through diffs
 - (djm) Added condrestart to Redhat init script. Patch from Pekka Savola
 - (djm) Update version in Redhat spec file
 - (djm) Merge some of Nalin Dahyabhai <> changes from the
   Redhat 7.0 spec file
 - (djm) Make inability to read/write PRNG seedfile non-fatal

 - (djm) Fix ssh2 hang on background processes at logout.

 - (bal) Add support for realpath and getcwd for platforms with broken
   or missing realpath implementations for sftp-server.
 - (bal) Corrected mistake in INSTALL in regards to GNU rx library
 - (bal) Add support for GNU rx library for those lacking regexp support
 - (djm) Don't accept PAM_PROMPT_ECHO_ON messages during initial auth
 - (djm) Revert SSH2 serverloop hack, will find a better way.
 - (djm) Add workaround for Linux 2.4's gratuitious errno change. Patch
   from Martin Johansson <>
 - (djm) Big OpenBSD sync:
   -  2000/09/30 10:27:44
     allow loglevel debug
   -  2000/10/03 11:59:57
   -  2000/10/03 12:03:03
     [auth-krb4.c auth-passwd.c auth-rh-rsa.c auth-rhosts.c auth-rsa.c auth1.c]
     move fake-auth from auth1.c to individual auth methods, disables s/key in
   -  2000/10/03 12:16:48
     do not resolve canonname, i have no idea why this was added oin ossh
   -  2000/10/09 15:30:44
     ssh-keygen.1 ssh-keygen.c
     -X now reads private DSA keys, too.
   -  2000/10/09 15:32:34
     clear options on every call.
   -  2000/10/09 15:51:00
     authfd.c authfd.h
     interop with ssh-agent2, from <>
   -  2000/10/10 14:20:45
     use rexexp for version string matching
   -  2000/10/10 22:02:18
     [kex.c kex.h myproposal.h ssh.h ssh2.h sshconnect2.c sshd.c dh.c dh.h]
     First rough implementation of the diffie-hellman group exchange.  The
     client can ask the server for bigger groups to perform the diffie-hellman
     in, thus increasing the attack complexity when using ciphers with longer
     keys.  University of Windsor provided network, T the company.
   -  2000/10/11 13:59:52
     [auth-rsa.c auth2.c]
     clear auth options unless auth sucessfull
   -  2000/10/11 14:00:27
     clear auth options unless auth sucessfull
   -  2000/10/11 14:03:27
     [scp.1 scp.c]
     support 'scp -o' with help from
   -  2000/10/11 14:11:35
   -  2000/10/11 14:14:40
     [auth.h auth2.c readconf.c readconf.h readpass.c servconf.c servconf.h]
     [ssh.h sshconnect2.c sshd_config auth2-skey.c cli.c cli.h]
     add support for s/key (kbd-interactive) to ssh2, based on work by and me
   -  2000/10/11 14:27:24
     [auth.c auth1.c auth2.c authfile.c cipher.c cipher.h kex.c kex.h]
     [myproposal.h packet.c readconf.c session.c ssh.c ssh.h sshconnect1.c]
     [sshconnect2.c sshd.c]
     new cipher framework
   -  2000/10/11 14:45:21
     remove DES
   -  2000/10/12 03:59:20
     [cipher.c cipher.h sshconnect1.c sshconnect2.c sshd.c]
     enable DES in SSH-1 clients only
   -  2000/10/12 08:21:13
     [kex.h packet.c]
     remove unused
   -  2000/10/13 12:34:46
     Kludge for F-Secure Macintosh < 1.0.2;
   -  2000/10/13 12:59:15
     [cipher.c cipher.h myproposal.h  rijndael.c rijndael.h]
     rijndael/aes support
   -  2000/10/13 13:10:54
     more info about -V
   -  2000/10/13 13:12:02
     prefer no compression
 - (djm) Fix scp user@host handling
 - (djm) Don't clobber ssh_prng_cmds on install
 - (stevesk) Include config.h in rijndael.c so we define intXX_t and
   u_intXX_t types on all platforms.
 - (stevesk) rijndael.c: cleanup missing declaration warnings.
 - (stevesk) ~/.hushlogin shouldn't cause required password change to
   be bypassed.
 - (stevesk) Display correct path to ssh-askpass in configure output.
   Report from Lutz Jaenicke.

 - (stevesk) Print PAM return value in PAM log messages to aid
   with debugging.
 - (stevesk) Fix detection of pw_class struct member in configure;
   patch from KAMAHARA Junzo <>

 - (djm) Fix USER_PATH, report from Kevin Steves <>
 - (djm) Add host system and CC to end-of-configure report. Suggested by
   Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>

 - (djm) Cygwin fixes from Corinna Vinschen <>

 - (djm) Irix ssh_prng_cmds path fix from Pekka Savola <>
 - (djm) Support in bsd-snprintf.c for long long conversions from
   Ben Lindstrom <>
 - (djm) Cleanup NeXT support from Ben Lindstrom <>
 - (djm) Ignore SIGPIPEs from serverloop to child. Fixes crashes with
   very short lived X connections. Bug report from Tobias Oetiker
   <>. Fix from Markus Friedl <>
 - (djm) Add recent InitScripts as a RPM dependancy for openssh-server
   patch from Pekka Savola <>
 - (djm) Forgot to cvs add LICENSE file
 - (djm) Add LICENSE to RPM spec files
 - (djm) CVS OpenBSD sync:
   -  2000/09/26 13:59:59
     use debug2
   -  2000/09/27 15:41:34
     [auth2.c sshconnect2.c]
     use key_type()
   -  2000/09/28 12:03:18
     debug -> debug2 cleanup
 - (djm) Irix strips "/dev/tty" from [uw]tmp entries (other systems only
   strip "/dev/"). Fix loginrec.c based on patch from Alain St-Denis
 - (djm) Fix 9 character passphrase failure with gnome-ssh-askpass.
   Problem was caused by interrupted read in ssh-add. Report from Donald
   J. Barry <>

 - (djm) Fix SSH2 not terminating until all background tasks done problem.
 - (djm) Another off-by-one fix from Pavel Kankovsky
 - (djm) Clean up. Strip some unnecessary differences with OpenBSD's code,
   tidy necessary differences. Use Markus' new debugN() in entropy.c
 - (djm) Merged big SCO portability patch from Tim Rice

 - (djm) Update X11-askpass to 1.0.2 in RPM spec file
 - (djm) Define _REENTRANT to pickup strtok_r() on HP/UX
 - (djm) Security: fix off-by-one buffer overrun in fake-getnameinfo.c.
   Report and fix from Pavel Kankovsky <>

 - (djm) Merged cleanup patch from Mark Miller <>
 - (djm) A bit more cleanup - created cygwin_util.h
 - (djm) Include strtok_r() from OpenBSD libc. Fixes report from Mark Miller

 - (djm) Fix address logging in utmp from Kevin Steves
 - (djm) Redhat spec and manpage fixes from Pekka Savola <>
 - (djm) Seperate tests for int64_t and u_int64_t types
 - (djm) Tweak password expiry checking at suggestion of Kevin Steves
 - (djm) NeXT patch from Ben Lindstrom <>
 - (djm) Use printf %lld instead of %qd in sftp-server.c. Fix from
   Michael Stone <>
 - (djm) OpenBSD CVS sync:
   -  2000/09/17 09:38:59
     [sshconnect2.c sshd.c]
     fix DEBUG_KEXDH
   -  2000/09/17 09:52:51
     yes no; ok niels@
   -  2000/09/21 04:55:11
   -  2000/09/21 05:03:54
   -  2000/09/21 05:11:42
     utime() to utimes();
   -  2000/09/21 05:25:08
     change login logic in ssh2, allows plugin of other auth methods
   -  2000/09/21 05:25:35
     [auth2.c channels.c channels.h clientloop.c dispatch.c dispatch.h]
     add context to dispatch_run
   -  2000/09/21 05:07:52
     authfd.c authfd.h ssh-agent.c
     bug compat for old software

 - (djm) Fix bad path substitution. Report from Andrew Miner

 - (djm) Fix SSL search order from Lutz Jaenicke
 - (djm) New SuSE spec from Corinna Vinschen <>
 - (djm) Update CygWin support from Corinna Vinschen <>
 - (djm) Use a real struct sockaddr inside the fake struct sockaddr_storage.
   Patch from Larry Jones <>
 - (djm) Add Steve VanDevender's <> PAM
   password change patch.
 - (djm) Bring licenses on my stuff in line with OpenBSD's
 - (djm) Cleanup auth-passwd.c and unify HP/UX authentication. Patch from
   Kevin Steves <>
 - (djm) Shadow expiry check fix from Pavel Troller <>
 - (djm) Re-enable int64_t types - we need them for sftp
 - (djm) Use libexecdir from configure , rather than libexecdir/ssh
 - (djm) Update Redhat SPEC file accordingly
 - (djm) Add Kevin Steves <> HP/UX contrib files
 - (djm) Add Charles Levert <> getpgrp patch
 - (djm) Fix password auth on HP/UX 10.20. Patch from Dirk De Wachter
 - (djm) Fixprogs and entropy list fixes from Larry Jones
 - (djm) Fix for SuSE spec file from Takashi YOSHIDA
 - (djm) Merge OpenBSD changes:
   -  2000/09/05 02:59:57
     print hostname (not hushlogin)
   -  2000/09/05 13:18:48
     [authfile.c ssh-add.c]
     enable ssh-add -d for DSA keys
   -  2000/09/05 13:20:49
   -  2000/09/06 03:46:41
   - 2000/09/07 14:27:56
     cleanup copyright notices on all files.  I have attempted to be
     accurate with the details.  everything is now under Tatu's licence
     (which I copied from his readme), and/or the core-sdi bsd-ish thing
     for deattack, or various openbsd developers under a 2-term bsd
     licence.  We're not changing any rules, just being accurate.
   -  2000/09/07 14:40:30
     [channels.c channels.h clientloop.c serverloop.c ssh.c]
     cleanup window and packet sizes for ssh2 flow control; ok niels
   -  2000/09/07 14:53:00
   -  2000/09/07 15:13:37
     [auth-options.c auth-options.h auth-rh-rsa.c auth-rsa.c auth.c]
     [authfile.h canohost.c channels.h compat.c hostfile.h log.c match.h]
     [pty.c readconf.c]
     some more Copyright fixes
   -  2000/09/08 03:02:51
     bye bye
   - 2000/09/11 18:38:33
     [LICENCE cipher.c]
     a few more comments about it being ARC4 not RC4
   -  2000/09/12 14:53:11
     [log-client.c log-server.c log.c ssh.1 ssh.c ssh.h sshd.8 sshd.c]
     multiple debug levels
   -  2000/09/14 14:25:15
   - 2000/09/15 01:13:51
     check return value for setenv(3) for failure, and deal appropriately

 - (djm) Fix server not exiting with jobs in background.

 - (djm) Import OpenBSD CVS changes
   -  2000/08/31 15:52:24
     [Makefile sshd.8 sshd_config sftp-server.8 sftp-server.c]
     implement a SFTP server. interops with sftp2, scp2 and the windows
     client from
   -  2000/08/31 15:56:03
   -  2000/08/31 16:05:42
   -  2000/08/31 16:09:34
     [authfd.c ssh-agent.c]
     add a flag to SSH2_AGENTC_SIGN_REQUEST for future extensions
   - 2000/09/01 09:25:13
     [scp.1 scp.c]
     cleanup and fix -S support;
   -  2000/09/01 16:29:32
     portability fixes
   -  2000/09/01 16:32:41
     fix cast;
   -  2000/09/03 09:23:28
     [ssh-add.1 ssh.1]
     add missing .El against .Bl.
   -  2000/09/04 13:03:41
     missing close; ok theo
   -  2000/09/04 13:07:21
     fix get_last_login_time order; from
   -  2000/09/04 13:10:09
     more cast fixes; from
   -  2000/09/04 13:06:04
     set SSH_ORIGINAL_COMMAND; from,
 - (djm) Cleanup after import. Fix sftp-server compilation, Makefile
 - (djm) Merge cygwin support from Corinna Vinschen <>

 - (djm) Fix Redhat init script

 - (djm) Pick up Jim's new X11-askpass
 - (djm) Release 2.2.0p1

 - (djm) Workaround SIGPIPE problems on SCO. Fix from Aran Cox
 - (djm) Pick up new version (2.2.0) from OpenBSD CVS

 - (djm) Compile warning fixes from Mark Miller <>
 - (djm) Periodically rekey arc4random
 - (djm) Clean up diff against OpenBSD.
 - (djm) HPUX 11 needs USE_PIPES as well: Kevin Steves
 - (djm) Quieten the pam delete credentials error message
 - (djm) Fix printing of $DISPLAY hack if set by system type. Report from
   Kevin Steves <>
 - (djm) NeXT patch from Ben Lindstrom <>
 - (djm) Fix doh in bsd-arc4random.c

 - (djm) Fix ^C ignored issue on Solaris. Diagnosis from Gert
   Doering <>, John Horne <> and
   Garrick James <>
 - (djm) Check for SCO pty naming style (ptyp%d/ttyp%d). Based on fix from
   Bastian Trompetter <>
 - (djm) NeXT tweaks from Ben Lindstrom <>
 - More OpenBSD updates:
   - 2000/08/24 15:46:59
     off_t in sink, to fix files > 2GB, i think, test is still running ;-)
   - 2000/08/25 10:10:06
   -  2000/08/26 04:33:43
   -  2000/08/27 12:18:05
     compatibility with future versions
   - 2000/08/27 21:50:55
     [auth-krb4.c session.c ssh-add.c sshconnect.c uidswap.c]
     print uid/gid as unsigned
   -  2000/08/28 13:51:00
     enable -n and -f for ssh2
   -  2000/08/28 14:19:53
     allow combination of -N and -f
   -  2000/08/28 14:20:56
   -  2000/08/28 14:22:02
   -  2000/08/28 14:23:38
     don't complain if setting NONBLOCK fails with ENODEV

 - (djm) Define USE_PIPES to avoid socketpair problems on HPUX 10 and SunOS 4
   Avoids "scp never exits" problem. Reports from Lutz Jaenicke
   <Lutz.Jaenicke@aet.TU-Cottbus.DE> and Tamito KAJIYAMA
 - (djm) Pick up LOGIN_PROGRAM from environment or PATH if not set by headers
 - (djm) Add local version to version.h
 - (djm) Don't reseed arc4random everytime it is used
 - (djm) OpenBSD CVS updates:
   - 2000/08/18 20:07:23
     accept remsh as a valid name as well;
   - 2000/08/18 20:17:13
     [deattack.c crc32.c packet.c]
     rename crc32() to ssh_crc32() to avoid zlib name clash.  do not move to
     libz crc32 function yet, because it has ugly "long"'s in it;
   - 2000/08/18 20:26:08
     [scp.1 scp.c]
     -S prog support;
   - 2000/08/18 20:50:07
   - 2000/08/18 20:57:33
   -  2000/08/19 12:48:11
     [channels.c channels.h clientloop.c ssh.c ssh.h]
     support for ~. in ssh2
   - 2000/08/19 15:29:40
     proper prototype
   -  2000/08/19 15:34:44
     [authfd.c authfd.h key.c key.h ssh-add.1 ssh-add.c ssh-agent.1]
     [ssh-agent.c ssh-keygen.c sshconnect1.c sshconnect2.c Makefile]
     [fingerprint.c fingerprint.h]
     add SSH2/DSA support to the agent and some other DSA related cleanups.
     (note that we cannot talk to's ssh2 agents)
   -  2000/08/19 15:55:52
     [channels.c channels.h clientloop.c]
     more ~ support for ssh2
   -  2000/08/19 16:21:19
   - 2000/08/20 12:25:53
     We have to stash the result of get_remote_name_or_ip() before we
     close our socket or getpeername() will get EBADF and the process
     will exit.  Only a problem for "UseLogin yes".
   - 2000/08/20 12:30:59
     Only check /etc/nologin if "UseLogin no" since login(1) may have its
     own policy on determining who is allowed to login when /etc/nologin
     is present.  Also use the _PATH_NOLOGIN define.
   - 2000/08/20 12:42:43
     [auth1.c auth2.c session.c ssh.c]
     Add calls to setusercontext() and login_get*().  We basically call
     setusercontext() in most places where previously we did a setlogin().
     Add default login.conf file and put root in the "daemon" login class.
   - 2000/08/21 10:23:31
     Fix incorrect PATH setting; noted by Markus.

 - (djm) OpenBSD CVS changes:
   -  2000/07/22 03:14:37
     [servconf.c servconf.h sshd.8 sshd.c sshd_config]
     random early drop; ok theo, niels
   - 2000/07/26 11:46:51
   - 2000/08/01 11:46:11
     many fixes from
   -  2000/08/01 13:01:42
     [ util.c aux.c]
     rename aux.c to util.c to help with cygwin port
   - 2000/08/02 00:23:31
     correct sun_len;
   -  2000/08/02 10:27:17
     [readconf.c sshd.8]
     disable kerberos authentication by default
   -  2000/08/02 11:27:05
     [sshd.8 readconf.c auth-krb4.c]
     disallow kerberos authentication if we can't verify the TGT; from
     kerberos authentication is on by default only if you have a srvtab.
   -  2000/08/04 14:30:07
   -  2000/08/04 14:30:35
   -  2000/08/15 13:20:46
     cleanup; ok niels@
   -  2000/08/17 14:05:10
     cleanup login(1)-like jobs, no duplicate utmp entries
   -  2000/08/17 14:06:34
     [session.c sshd.8 sshd.c]
      sshd -u len, similar to telnetd
 - (djm) Lastlog was not getting closed after writing login entry
 - (djm) Add Solaris package support from Rip Loomis <>

 - (djm) Replacement for inet_ntoa for Irix (which breaks on gcc)
 - (djm) Fix strerror replacement for old SunOS. Based on patch from
   Charles Levert <>
 - (djm) Seperate arc4random into seperate file and use OpenSSL's RC4
 - (djm) SUN_LEN macro for systems which lack it

 - (djm) More SunOS 4.1.x fixes from Nate Itkin <>
 - (djm) Avoid failures on Irix when ssh is not setuid. Fix from
   Michael Stone <>
 - (djm) Don't seek in directory based lastlogs
 - (djm) Fix --with-ipaddr-display configure option test. Patch from
   Jarno Huuskonen <>
 - (djm) Fix AIX limits from Alexandre Oliva <>

 - (djm) Add $(srcdir) to includes when compiling (for VPATH). Report from
   Fabrice bacchella <>

 - (djm) Define AIX hard limits if headers don't. Report from
   Bill Painter <>
 - (djm) utmp direct write & SunOS 4 patch from Charles Levert

 - (djm) Cleanup Redhat RPMs. Generate keys at runtime rather than install
   time, spec file cleanup.

 - (djm) Set 0755 on binaries during install. Report from Lutz Jaenicke
 - (djm) Suppress error messages on channel close shutdown() failurs
   works around Linux bug. Patch from Zack Weinberg <>
 - (djm) Add some more entropy collection commands from Lutz Jaenicke


 - (djm) OpenBSD CVS updates:
   -  2000/07/16 02:27:22
     [authfd.c authfd.h channels.c clientloop.c ssh-add.c ssh-agent.c ssh.c]
     [sshconnect1.c sshconnect2.c]
     make ssh-add accept dsa keys (the agent does not)
   -     2000/07/17 19:25:02
     Another closing of stdin; ok deraadt
   -  2000/07/19 18:33:12
     missing free, reorder
   -  2000/07/20 16:23:14
     document input and output files

 - (djm) Spec file fix from Petr Novotny <>

 - (djm) Release 2.1.1p4

 - (djm) OpenBSD CVS updates
   -  2000/07/13 16:53:22
     [aux.c readconf.c servconf.c ssh.h]
     allow multiple whitespace but only one '=' between tokens, bug report from
     Ralf S. Engelschall <> but different fix. okay deraadt@
   -  2000/07/13 17:14:09
   -  2000/07/13 17:19:31
     close can fail on AFS, report error; from Greg Hudson <>
   -  2000/07/14 16:59:46
     [readconf.c servconf.c]
     allow leading whitespace. ok niels
   -     2000/07/14 22:01:38
     [ssh-keygen.c ssh.c]
     Always create ~/.ssh with mode 700; ok Markus
 - Fixes for SunOS 4.1.4 from Gordon Atwood <>
   - Include floatingpoint.h for entropy.c
   - strerror replacement

 - (djm) Remove -lresolve for Reliant Unix
 - (djm) OpenBSD CVS Updates:
   - 2000/07/11 02:11:34
     [session.c sshd.c ]
     make MaxStartups code still work with -d; djm
   - 2000/07/11 13:17:45
     [readconf.c ssh_config]
     disable FallBackToRsh by default
 - (djm) Replace in_addr_t with u_int32_t in bsd-inet_aton.c. Report from
   Ben Lindstrom <>
 - (djm) Make building of X11-Askpass and GNOME-Askpass optional in RPM
   spec file.
 - (djm) Released 2.1.1p3

 - (djm) Fixup for AIX getuserattr() support from Tom Bertelson
 - (djm) ReliantUNIX support from Udo Schweigert <>
 - (djm) NeXT: dirent structures to get scp working from Ben Lindstrom
 - (djm) Fix broken inet_ntoa check and ut_user/ut_name confusion, report
   from Jim Watt <>
 - (djm) Replaced bsd-snprintf.c with one from Mutt source tree, it is known
   to compile on more platforms (incl NeXT).
 - (djm) Added bsd-inet_aton and configure support for NeXT
 - (djm) Misc NeXT fixes from Ben Lindstrom <>
 - (djm) OpenBSD CVS updates:
   -  2000/06/26 03:22:29
     cleanup, less cut&paste
   -  2000/06/26 15:59:19
     [servconf.c servconf.h session.c sshd.8 sshd.c]
     MaxStartups: limit number of unauthenticated connections, work by
     theo and me
   - 2000/07/05 14:18:07
     use no_x11_forwarding_flag correctly; provos ok
   -  2000/07/05 15:35:57
   -   2000/07/05 22:06:58
     [scp.1 ssh-agent.1 ssh-keygen.1 sshd.8]
     Insert more missing .El directives. Our troff really should identify
     these and spit out a warning.
   -    2000/07/06 21:55:04
     [auth-rsa.c auth2.c ssh-keygen.c]
     clean code is good code
   - 2000/07/07 02:14:29
     sense of port forwarding flag test was backwards
   -  2000/07/08 17:17:31
     [compat.c readconf.c]
     replace strtok with strsep; from David Young <>
   - 2000/07/08 19:21:15
   -      2000/07/08 19:27:33
     [compat.c readconf.c]
     Better conditions for strsep() ending.
   -      2000/07/10 10:27:05
     Get the correct message on errors. (niels@ ok)
   -      2000/07/10 10:30:25
     [cipher.c kex.c servconf.c]
     strtok() --> strsep(). (niels@ ok)
 - (djm) Fix problem with debug mode and MaxStartups
 - (djm) Don't generate host keys when $(DESTDIR) is set (e.g. during RPM
 - (djm) Add strsep function from OpenBSD libc for systems that lack it

 - (djm) Only enable PAM_TTY kludge for Linux. Problem report from
   Kevin Steves <>
 - (djm) Match prototype and function declaration for rresvport_af.
   Problem report from Niklas Edmundsson <>
 - (djm) Missing $(DESTDIR) on host-key target causing problems with RPM
   builds. Problem report from Gregory Leblanc <>
 - (djm) Replace ut_name with ut_user. Patch from Jim Watt
 - (djm) Fix pam sprintf fix
 - (djm) Cleanup entropy collection code a little more. Split initialisation
   from seeding, perform intialisation immediatly at start, be careful with
   uids. Based on problem report from Jim Watt <>
 - (djm) More NeXT compatibility from Ben Lindstrom <>
   Including sigaction() et al. replacements
 - (djm) AIX getuserattr() session initialisation from Tom Bertelson

 - (djm) Fix bad fprintf format handling in auth-pam.c. Patch from
   Aaron Hopkins <>
 - (djm) Fix incorrect configure handling of --with-rsh-path option. Fix from
   Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
 - (djm) Fixed undefined variables for OSF SIA. Report from
   Baars, Henk <>
 - (djm) Handle EWOULDBLOCK returns from read() and write() in atomicio.c
   Fix from Marquess, Steve Mr JMLFDC <Steve.Marquess@DET.AMEDD.ARMY.MIL>
 - (djm) Don't use inet_addr.

 - (djm) Fix brace mismatch from Corinna Vinschen <>
 - (djm) Stop shadow expiry checking from preventing logins with NIS. Based
   on fix from HARUYAMA Seigo <>
 - (djm) Use standard OpenSSL functions in auth-skey.c. Patch from
   Chris, the Young One <>
 - (djm) Fix scp progress meter on really wide terminals. Based on patch
   from James H. Cloos Jr. <>

 - (djm) Fix Tru64 SIA problems reported by John P Speno <>
 - (djm) Login fixes from Tom Bertelson <>
 - (djm) Replace "/bin/sh" with _PATH_BSHELL. Report from Corinna Vinschen
 - (djm) Replace "/usr/bin/login" with LOGIN_PROGRAM
 - (djm) Added check for broken snprintf() functions which do not correctly
   terminate output string and attempt to use replacement.
 - (djm) Released 2.1.1p2

 - (djm) Fixes to lastlog code for Irix
 - (djm) Use atomicio in loginrec
 - (djm) Patch from Michael Stone <> to add support for
   Irix 6.x array sessions, project id's, and system audit trail id.
 - (djm) Added 'distprep' make target to simplify packaging
 - (djm) Added patch from Chris Adams <> to add OSF SIA
   support. Enable using "USE_SIA=1 ./configure [options]"

 - (djm) Fixes to login code - not setting li->uid, cleanups
 - (djm) Formatting

 - (djm) Better fix to aclocal tests from Garrick James <>
 - (djm) Account expiry support from Andreas Steinmetz <>
 - (djm) Added password expiry checking (no password change support)
 - (djm) Make EGD failures non-fatal if OpenSSL's entropy pool is still OK
   based on patch from Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
 - (djm) Fix fixed EGD code.
 - OpenBSD CVS update
   -  2000/06/25 14:17:58
     correct check for bad channel ids; from Wei Dai <>

 - (djm) Use sa_family_t in prototype for rresvport_af. Patch from
   Svante Signell <>
 - (djm) Autoconf logic to define sa_family_t if it is missing
 - OpenBSD CVS Updates:
   -  2000/06/22 10:32:27
     missing atomicio; report from Steve.Marquess@DET.AMEDD.ARMY.MIL
   -     2000/06/22 17:55:00
     [auth-krb4.c key.c radix.c uuencode.c]
     Missing CVS idents; ok markus

 - (djm) Automatically generate host key during "make install". Suggested
   by Gary E. Miller <>
 - (djm) Paranoia before kill() system call
 - OpenBSD CVS Updates:
   -  2000/06/18 18:50:11
     [auth2.c compat.c compat.h sshconnect2.c]
     make userauth+pubkey interop with
   -  2000/06/18 20:56:17
     mem leak + be more paranoid in dsa_verify.
   -  2000/06/18 21:29:50
     cleanup fingerprinting, less hardcoded sizes
   -  2000/06/19 19:39:45
     [atomicio.c auth-options.c auth-passwd.c auth-rh-rsa.c auth-rhosts.c]
     [auth-rsa.c auth-skey.c authfd.c authfd.h authfile.c bufaux.c bufaux.h]
     [buffer.c buffer.h canohost.c channels.c channels.h cipher.c cipher.h]
     [clientloop.c compat.c compat.h compress.c compress.h crc32.c crc32.h]
     [deattack.c dispatch.c dsa.c fingerprint.c fingerprint.h getput.h hmac.c]
     [kex.c log-client.c log-server.c login.c match.c mpaux.c mpaux.h nchan.c]
     [nchan.h packet.c packet.h pty.c pty.h readconf.c readconf.h readpass.c]
     [rsa.c rsa.h scp.c servconf.c servconf.h ssh-add.c ssh-keygen.c ssh.c]
     [ssh.h tildexpand.c ttymodes.c ttymodes.h uidswap.c xmalloc.c xmalloc.h]
     OpenBSD tag
   -  2000/06/21 10:46:10
     sshconnect2.c missing free; nuke old comment

 - (djm) Replace use of '-o' and '-a' logical operators in configure tests
   with '||' and '&&'. As suggested by Jim Knoble <>
   to fix SCO Unixware problem reported by Gary E. Miller <>
 - (djm) Typo in loginrec.c

 - (djm) Add summary of configure options to end of ./configure run
 - (djm) Not all systems define RUSAGE_SELF & RUSAGE_CHILDREN. Report from
   Michael Stone <>
 - (djm) rusage is a privileged operation on some Unices (incl.
   Solaris 2.5.1). Report from Paul D. Smith <>
 - (djm) Avoid PAM failures when running without a TTY. Report from
   Martin Petrak <>
 - (djm) Include sys/types.h when including netinet/in.h in configure tests.
   Patch from Jun-ichiro itojun Hagino <>
 - (djm) Started merge of Ben Lindstrom's <> NeXT support
 - OpenBSD CVS updates:
   - 2000/06/17 09:58:46
     everyone says "nix it" (remove protocol 2 debugging message)
   -  2000/06/17 13:24:34
     allow extended server banners
   -  2000/06/17 14:30:10
     missing atomicio, typo
   -   2000/06/17 16:52:34
     [servconf.c servconf.h session.c sshd.8 sshd_config]
     add support for ssh v2 subsystems. ok markus@.
   - 2000/06/17 18:57:48
     [readconf.c servconf.c]
     include = in WHITESPACE; markus ok
   -  2000/06/17 19:09:10
     implement bug compatibility with ssh-2.0.13 pubkey, server side
   -  2000/06/17 21:00:28
     initial support for's 2.2.0
   -  2000/06/17 21:16:09
   -  2000/06/17 22:05:02
     [auth-rsa.c auth2.c serverloop.c session.c auth-options.c auth-options.h]
     split auth-rsa option parsing into auth-options
     add options support to authorized_keys2
   -  2000/06/17 22:42:54

 - (djm) Fixes from Andrew McGill <>:
  - Platform define for SCO 3.x which breaks on /dev/ptmx
  - Detect and try to fix missing MAXPATHLEN
 - (djm) Fix short copy in loginrec.c (based on patch from Phill Camp

 - (djm) Glob manpages in RPM spec files to catch compressed files
 - (djm) Full license in auth-pam.c
 - (djm) Configure fixes from SAKAI Kiyotaka <>
 - (andre) AIX, lastlog, configure fixes from Tom Bertelson <>:
  - Don't try to retrieve lastlog from wtmp/wtmpx if DISABLE_LASTLOG is
  - Set AIX to use preformatted manpages

 - (djm) Minor doc tweaks
 - (djm) Fix for configure on bash2 from Jim Knoble <>

 - (djm) Patch from Kenji Miyake <> to disable utmp usage
   (in favour of utmpx) on Solaris 8

 - (djm) Cleanup of entropy.c. Reorganised code, removed second pass through
   list of commands (by default). Removed verbose debugging (by default).
 - (djm) Increased command entropy estimates and default entropy collection
 - (djm) Remove duplicate headers from loginrec.c
 - (djm) Don't add /usr/local/lib to library search path on Irix
 - (djm) Fix rsh path in RPMs. Report from Jason L Tibbitts III
 - (djm) Warn user if grabs fail in GNOME askpass. Patch from Zack Weinberg
 - (djm) OpenBSD CVS updates:
    teach protocol v2 to count login failures properly and also enable an
    explanation of why the password prompt comes up again like v1; this is NOT
    [readconf.c readconf.h servconf.c servconf.h session.c ssh.1 ssh.c sshd.8]
    xauth_location support; pr 1234
    [readconf.c sshconnect2.c]
    typo, unused
    allow use_login only for login sessions, otherwise remote commands are
    execed with uid==0
    document UseLogin better
    OpenSSH 2.1.1
    fix match_hostname() logic for auth-rsa: deny access if we have a
    negative match or no match at all
    [channels.c hostfile.c match.c]
    don't panic if mkdtemp fails for authfwd; via

 - (djm) Added --with-cflags, --with-ldflags and --with-libs options to

 - Configure tweaking for new login code on Irix 5.3
 - (andre) login code changes based on djm feedback

 - (andre) New login code
    - Remove bsd-login.[ch] and all the OpenBSD-derived code in login.c
    - Add loginrec.[ch], logintest.c and autoconf code

 - Cleanup of auth.c, login.c and fake-*
 - Cleanup of auth-pam.c, save and print "account expired" error messages
 - Fix EGD read bug by IWAMURO Motonori <>
 - Rewrote bsd-login to use proper utmp API if available. Major cleanup
   of fallback DIY code.

 - Define atexit for old Solaris
 - Fix buffer overrun in login.c for systems which use syslen in utmpx.
   patch from YOSHIFUJI Hideaki <>
 - OpenBSD CVS updates:
    make x11-fwd work w/ localhost (xauth add host/unix:11)
    [cipher.c compat.c readconf.c servconf.c]
    check strtok() != NULL; ok niels@
    fix key_read() for uuencoded keys w/o '='
    group ssh1 vs. ssh2 in serverloop
    [kex.c kex.h myproposal.h sshconnect2.c sshd.c]
    split kexinit/kexdh, factor out common code
    [readconf.c ssh.1 ssh.c]
    forwardagent defaults to no, add ssh -A
    just some line shortening
 - Released 2.1.0p3

 - Xauth fix from Markus Friedl <>
 - Don't touch utmp if USE_UTMPX defined
 - SunOS 4.x support from Todd C. Miller <>
 - SIGCHLD fix for AIX and HPUX from Tom Bertelson <>
 - HPUX and Configure fixes from Lutz Jaenicke
 - Use mkinstalldirs script to make directories instead of non-portable
   "install -d". Suggested by Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
 - Doc cleanup

 - Include Andre Lucas' fixprogs script. Forgot to "cvs add" it yesterday
 - OpenBSD CVS updates:
    copy only ai_addrlen bytes;
    accept an empty shell in authentication; bug reported by
    we don't have stderr for interactive terminal sessions (fcntl errors)

 - Fix from Andre Lucas <>
  - Fixes command line printing segfaults (spotter: Bladt Norbert)
  - Fixes erroneous printing of debug messages to syslog
  - Fixes utmp for MacOS X (spotter: Aristedes Maniatis)
  - Gives useful error message if PRNG initialisation fails
  - Reduced ssh startup delay
  - Measures cumulative command time rather than the time between reads
    after select()
  - 'fixprogs' perl script to eliminate non-working entropy commands, and
    optionally run 'ent' to measure command entropy
 - Applied Tom Bertelson's <> AIX authentication fix
 - Avoid WCOREDUMP complation errors for systems that lack it
 - Avoid SIGCHLD warnings from entropy commands
 - Fix HAVE_PAM_GETENVLIST setting from Simon Wilkinson <>
 - OpenBSD CVS update:
    fix usage()
    document ssh -T -N (ssh2 only)
    [channels.c serverloop.c ssh.h sshconnect.c sshd.c aux.c]
    enable nonblocking IO for sshd w/ proto 1, too; split out common code
    missing include
 - Several patches from SAKAI Kiyotaka <>
  - INSTALL typo and URL fix
  - Makefile fix
  - Solaris fixes
 - Checking for ssize_t and memmove. Based on patch from SAKAI Kiyotaka
 - RSAless operation patch from
 - Detect OpenSSL seperatly from RSA
 - Better test for RSA (more compatible with RSAref). Based on work by
   Ed Eden <>

 - Fix for non-recognised DSA keys from Arkadiusz Miskiewicz

 - Fix for prng_seed permissions checking from Lutz Jaenicke
 - "make host-key" fix for Irix

 - OpenBSD CVS update
    [cipher.h myproposal.h readconf.c readconf.h servconf.c ssh.1 ssh.c]
    [ssh.h sshconnect1.c sshconnect2.c sshd.8]
    - complain about invalid ciphers in SSH1 (e.g. arcfour is SSH2 only)
    - zap typo
    - One last nit fix. (markus approved)
    - some markus certified spelling adjustments
    [auth2.c channels.c clientloop.c compat compat.h dsa.c kex.c]
    [sshconnect2.c ]
    - bug compat w/ ssh-2.0.13 x11, split out bugs
    - no drain if ibuf_empty, fixes x11fwd problems; tests by fries@
    - handle escapes in real and original key format, ok millert@
    - OpenSSH-2.1
 - Moved all the bsd-* and fake-* stuff into new libopenbsd-compat.a
 - Doc updates
 - Cleanup of bsd-base64 headers, bugfix definitions of __b64_*. Reported
   by Andre Lucas <>

 - Makefile and RPM spec fixes
 - Generate DSA host keys during "make key" or RPM installs
 - OpenBSD CVS update
    [clientloop.c sshconnect2.c]
    - make x11-fwd interop w/ ssh-2.0.13
    - interop w/ SecureFX
 - Release 2.0.0beta2

 - Configure caching and cleanup patch from Andre Lucas'

 - Remove references to SSLeay.
 - Big OpenBSD CVS update
    - typo
    - update proctitle on pty alloc/dealloc, e.g. w/ windows client
    - update proctitle for proto 1, too
    [channels.h nchan.c serverloop.c session.c sshd.c]
    - use c-style comments
    - more atomicio
    - set O_NONBLOCK
    - update AUTHOR
    [readconf.c ssh-keygen.c ssh.h]
    - default DSA key file ~/.ssh/id_dsa
    - typo, rm verbose debug
    - document DSA use of ssh-keygen
    - a start at describing what i understand of the DSA side
    - document -X and -x
    - simplify usage
    - there is no rhosts_dsa
    - document -y, update -X,-x
    - fix close for non-open ssh1 channels
    [servconf.c servconf.h ssh.h sshd.8 sshd.c ]
    - s/DsaKey/HostDSAKey/, document option
    - respect number_of_password_prompts
    [channels.c channels.h servconf.c servconf.h session.c sshd.8]
    - GatewayPorts for sshd, ok deraadt@
    [ssh-add.1 ssh-agent.1 ssh.1]
    - more doc on: DSA, id_dsa, known_hosts2, authorized_keys2
    - more info on proto 2
    - sync AUTHOR w/ ssh.1
    [key.c key.h sshconnect.c]
    - print key type when talking about host keys
    - clear padding in ssh2
    [dsa.c key.c radix.c ssh.h sshconnect1.c uuencode.c uuencode.h]
    - replace broken uuencode w/ libc b64_ntop
    - log failure before sending the reply
    [key.c radix.c uuencode.c]
    - remote trailing comments before calling __b64_pton
    [auth2.c readconf.c readconf.h servconf.c servconf.h ssh.1]
    [sshconnect2.c sshd.8]
    - add DSAAuthetication option to ssh/sshd, document SSH2 in sshd.8
 - Bring in b64_ntop and b64_pton from OpenBSD libc (bsd-base64.[ch])

 - OpenBSD CVS update
   - init all fds, close all fds.
   - check whether file exists before asking for passphrase
   [servconf.c servconf.h sshd.8 sshd.c]
   - PidFile, pr 1210
   - EINTR
   - unbreak, ok niels@
   - unlink pid file, ok niels@
   - Add missing #ifdefs; ok - markus
 - Add Andre Lucas' <> patch to read entropy
   gathering commands from a text file
 - Release 2.0.0beta1

 - OpenBSD CVS update
   - send debug messages in SSH2 format
   - fix very rare EAGAIN/EINTR issues; based on work by djm
   - less debug, rm unused
   - disable kerb,s/key in ssh2
   - Minor tweaks and typo fixes.
   - Put -d into usage and reorder. markus ok.
 - Include missing headers for OpenSSL tests. Fix from Phil Karn
 - Fixed __progname symbol collisions reported by Andre Lucas
 - Merged bsd-login ttyslot and AIX utmp patch from Gert Doering
 - Add some missing ifdefs to auth2.c
 - Deprecate perl-tk askpass.
 - Irix portability fixes - don't include netinet headers more than once
 - Make sure we don't save PRNG seed more than once

 - Merge HP-UX fixes and TCB support from Ged Lodder <>
 - Integrate Andre Lucas' <> entropy collection
   - Adds timeout to entropy collection
   - Disables slow entropy sources
   - Load and save seed file
 - Changed entropy seed code to user per-user seeds only (server seed is
   saved in root's .ssh directory)
 - Use atexit() and fatal cleanups to save seed on exit
 - More OpenBSD updates:
   - don't call chan_write_failed() if we are not writing
   [auth-rsa.c auth1.c authfd.c hostfile.c ssh-agent.c]
   - keysize warnings error() -> log()

 - Merge big update to OpenSSH-2.0 from OpenBSD CVS
   - interop w/ F-secure windows client
   - sync documentation
   - ssh_host_dsa_key not ssh_dsa_key
   - missing fclose
   [auth.c authfile.c compat.c dsa.c dsa.h hostfile.c key.c key.h radix.c]
   [readconf.c readconf.h ssh-add.c ssh-keygen.c ssh.c ssh.h sshconnect.c]
   [sshd.c uuencode.c uuencode.h authfile.h]
   - add DSA pubkey auth and other SSH2 fixes.  use ssh-keygen -[xX]
     for trading keys with the real and the original SSH, directly from the
     people who invented the SSH protocol.
   [auth.c auth.h authfile.c sshconnect.c auth1.c auth2.c sshconnect.h]
   [sshconnect1.c sshconnect2.c]
   - split auth/sshconnect in one file per protocol version
   - remove debug
   - add trailing =
   - OpenSSH-2.0
   [ssh-keygen.1 ssh-keygen.c]
   - add -R flag: exit code indicates if RSA is alive
   - remove unused
     silent if -Q is specified
   - host key becomes /etc/ssh_host_dsa_key
   [readconf.c servconf.c ]
   - ssh/sshd default to proto 1 and 2
   - remove debug
   [auth2.c ssh-keygen.c sshconnect2.c sshd.c]
   - xfree DSA blobs
   [auth2.c serverloop.c session.c]
   - cleanup logging for sshd/2, respect PasswordAuth no
   - less debug, respect .ssh/config
   [README.openssh2 channels.c channels.h]
   - clientloop.c session.c ssh.c
   - support for x11-fwding, client+server

 - Merge fix from OpenBSD CVS
  - Fix memory leak per connection. Report from Andy Spiegl <>
    via Debian bug #59926
 - Define __progname in session.c if libc doesn't
 - Remove indentation on autoconf #include statements to avoid bug in
   DEC Tru64 compiler. Report and fix from David Del Piero

 - Make fixpaths work with perl4, patch from Andre Lucas
 - Sync with OpenBSD CVS:
  [clientloop.c login.c serverloop.c ssh-agent.c ssh.h sshconnect.c sshd.c]
  - pid_t
  - remove bogus chan_read_failed. this could cause data
    corruption (missing data) at end of a SSH2 session.
 - Merge fixes from Debian patch from Phil Hands <>
  - Allow setting of PAM service name through CFLAGS (SSHD_PAM_SERVICE)
  - Use vhangup to clean up Linux ttys
  - Force posix getopt processing on GNU libc systems
 - Debian bug #55910 - remove references to ssl(8) manpages
 - Debian bug #58031 - ssh_config lies about default cipher

 - OpenBSD CVS updates
   - fix pr 1196, listen_port and port_to_connect interchanged
   - after completion, replace the progress bar ETA counter with a final
     elapsed time; my idea, aaron wrote the patch
   [ssh_config sshd_config]
   - show 'Protocol' as an example, ok markus@
   - missing xfree()
 - Add missing header to bsd-misc.c

 - Reduce diff against OpenBSD source
   - All OpenSSL includes are now unconditionally referenced as
   - Pick up formatting changes
   - Other minor changed (typecasts, etc) that I missed

 - OpenBSD CVS updates.
   [ssh.1 ssh.c]
   - ssh -2
   [auth.c channels.c clientloop.c packet.c packet.h serverloop.c]
   [session.c sshconnect.c]
   - check payload for (illegal) extra data
   whitespace cleanup

 - INSTALL doc updates
 - Merged OpenBSD updates to include paths.

 - OpenBSD CVS updates:
   - [channels.c]
     repair x11-fwd
   - [sshconnect.c]
     fix passwd prompt for ssh2, less debugging output.
   - [clientloop.c compat.c dsa.c kex.c sshd.c]
     less debugging output
   - [kex.c kex.h sshconnect.c sshd.c]
     check for reasonable public DH values
   - [README.openssh2 cipher.c cipher.h compat.c compat.h readconf.c]
     [readconf.h servconf.c servconf.h ssh.c ssh.h sshconnect.c sshd.c]
     add Cipher and Protocol options to ssh/sshd, e.g.:
     ssh -o 'Protocol 1,2' if you prefer proto 1, ssh -o 'Ciphers
   - [sshd.c]
     print 1.99 only if server supports both

 - Avoid some compiler warnings in fake-get*.c
 - Add IPTOS macros for systems which lack them
 - Only set define entropy collection macros if they are found
 - More large OpenBSD CVS updates:
   - [auth.c auth.h servconf.c servconf.h serverloop.c session.c]
     [session.h ssh.h sshd.c README.openssh2]
     ssh2 server side, see README.openssh2; enable with 'sshd -2'
   - [channels.c]
     no adjust after close
   - [sshd.c compat.c ]
     interop w/ latest windows client.

 - OpenBSD CVS update:
   - [channels.c]
     close efd on eof
   - [clientloop.c compat.c ssh.c sshconnect.c myproposal.h]
     ssh2 client implementation, interops w/ and lsh servers.
   - [sshconnect.c]
     missing free.
   - [authfile.c cipher.c cipher.h packet.c sshconnect.c sshd.c]
     remove unused argument, split cipher_mask()
   - [clientloop.c]
     re-order: group ssh1 vs. ssh2
 - Make Redhat spec require openssl >= 0.9.5a

 - Add tests for RAND_add function when searching for OpenSSL
 - OpenBSD CVS update:
   - [packet.h packet.c]
     ssh2 packet format
   - [packet.h packet.c nchan.h compat.h compat.c]
     [channels.h channels.c]
     channel layer support for ssh2
   - [kex.h kex.c hmac.h hmac.c dsa.c dsa.h]
     DSA, keyexchange, algorithm agreement for ssh2
 - Generate manpages before make install not at the end of make all
 - Don't seed the rng quite so often
 - Always reseed rng when requested

 - Wrote entropy collection routines for systems that lack /dev/random
   and EGD
 - Disable tests and typedefs for 64 bit types. They are currently unused.

 - Big OpenBSD CVS update (mainly beginnings of SSH2 infrastructure)
   - [auth.c session.c sshd.c auth.h]
     split sshd.c -> auth.c session.c sshd.c plus cleanup and goto-removal
   - [bufaux.c bufaux.h]
     support ssh2 bignums
   - [channels.c channels.h clientloop.c sshd.c nchan.c nchan.h packet.c]
     [readconf.c ssh.c ssh.h serverloop.c]
     replace big switch() with function tables (prepare for ssh2)
   - [ssh2.h]
     ssh2 message type codes
   - [sshd.8]
     reorder Xr to avoid cutting
   - [serverloop.c]
     close(fdin) if fdin != fdout, shutdown otherwise, ok theo@
   - [channels.c]
     missing close
     allow bigger packets
   - [cipher.c cipher.h]
     support ssh2 ciphers
   - [compress.c]
     cleanup, less code
   - [dispatch.c dispatch.h]
     function tables for different message types
   - [log-server.c]
     do not log() if debuggin to stderr
     rename a cpp symbol, to avoid param.h collision
   - [mpaux.c]
   - [nchan.c]
     sync w/ channels.c

 - Better tests for OpenSSL w/ RSAref
 - Added replacement setenv() function from OpenBSD libc. Suggested by
   Ben Lindstrom <>
 - OpenBSD CVS update
   - [auth-krb4.c]
   - [auth-rh-rsa.c auth-rsa.c hostfile.c hostfile.h key.c key.h match.c]
     [match.h ssh.c ssh.h sshconnect.c sshd.c]
     initial support for DSA keys. ok deraadt@, niels@
   - [cipher.c cipher.h]
     remove unused cipher_attack_detected code
   - [scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 sshd.8]
     Fix some formatting problems I missed before.
   - [ssh.1 sshd.8]
     fix spelling errors, From: FreeBSD
   - [ssh.c]
     switch to raw mode only if he _get_ a pty (not if we _want_ a pty).

 - Released 1.2.3

 - Clarified --with-default-path option.
 - Added -blibpath handling for AIX to work around stupid runtime linking.
   Problem elucidated by gshapiro@SENDMAIL.ORG by way of Jim Knoble
 - Checks for 64 bit int types. Problem report from Mats Fredholm
 - OpenBSD CVS updates:
   - [atomicio.c auth-krb4.c bufaux.c channels.c compress.c fingerprint.c]
     [packet.h radix.c rsa.c scp.c ssh-agent.c ssh-keygen.c sshconnect.c]
     pedantic: signed vs. unsigned, void*-arithm, etc
   - [ssh.1 sshd.8]
     Various cleanups and standardizations.
 - Runtime error fix for HPUX from Otmar Stahl

 - Fixed configure not passing LDFLAGS to Solaris. Report from David G.
   Hesprich <>
 - Propogate LD through to Makefile
 - Doc cleanups
 - Added blurb about "scp: command not found" errors to UPGRADING

 - Fix broken CFLAGS handling during search for OpenSSL. Fixes va_list
   problems with gcc/Solaris.
 - Don't free argument to putenv() after use (in setenv() replacement).
   Report from Seigo Tanimura <>
 - Created contrib/ subdirectory. Included helpers from Phil Hands'
   Debian package, README file and chroot patch from Ricardo Cerqueira
 - Moved gnome-ssh-askpass.c to contrib directory and removed config
 - Slight cleanup to doc files
 - Configure fix from Bratislav ILICH <>

 - Include macro for IN6_IS_ADDR_V4MAPPED. Report from
 - Include /usr/local/include and /usr/local/lib for systems that don't
   do it themselves
 - -R/usr/local/lib for Solaris
 - Fix RSAref detection
 - Fix IN6_IS_ADDR_V4MAPPED macro

 - Detect RSAref
 - OpenBSD CVS change
    - disallow guessing of root password
 - More configure fixes
 - IPv6 workarounds from Hideaki YOSHIFUJI <>

 - OpenBSD CVS updates to v1.2.3
   [ssh.h atomicio.c]
    - int atomicio -> ssize_t (for alpha). ok deraadt@
    - delay MD5 computation until client sends response, free() early, cleanup.
    - void* -> unsigned char*, ok niels@
    - remove unused variable 'len'. fix comments.
    - remove unused variable
   [log-client.c log-server.c]
    - rename a cpp symbol, to avoid param.h collision
    - missing xfree()
    - getsockname() requires initialized tolen;
    - use getpeername() in packet_connection_is_on_socket(), fixes sshd -i;
   from Holger.Trapp@Informatik.TU-Chemnitz.DE
   [pty.c pty.h]
    - register cleanup for pty earlier. move code for pty-owner handling to
      pty.c ok provos@, dugsong@
    - turn off x11-fwd for the client, too.
    - PKCS#1 padding
    - allow '.' in usernames; from
    - typo: ignore_user_known_hosts int->flag;
    - sync with sshd_config
    - enable ssh-keygen -l -f ~/.ssh/known_hosts, ok deraadt@
    - Change invalid 'CHAT' loglevel to 'VERBOSE'
    - suppress AAAA query host when '-4' is used; from
    - turn off x11-fwd for the client, too.
    - missing xfree()
    - retry rresvport_af(), too. from
    - read error vs. "Connection closed by remote host"
    - ie. -> i.e.,
    - do not link to a commercial page..
    - sync with sshd_config
    - no need for poll.h; from
    - log with level log() not fatal() if peer behaves badly.
    - don't panic if client behaves strange. ok deraadt@
    - make no-port-forwarding for RSA keys deny both -L and -R style fwding
    - delay close() of pty until the pty has been chowned back to root
    - oops, fix comment, too.
    - missing xfree()
    - move XAUTHORITY to subdir. ok dugsong@. fixes debian bug #57907, too.
    - register cleanup for pty earlier. move code for pty-owner handling to
      pty.c ok provos@, dugsong@
    - create x11 cookie file
    - fix pr 1113, fclose() -> pclose(), todo: remote popen()
    - version 1.2.3
 - Cleaned up
 - Removed warning workaround for Linux and devpts filesystems (no longer
   required after OpenBSD updates)

 - Configure fix from Hiroshi Takekawa <>

 - Released 1.2.2p1

 - Fix DEC compile fix
 - Explicitly seed OpenSSL's PRNG before checking rsa_alive()
 - Check for getpagesize in libucb.a if not found in libc. Fix for old
   Solaris from Andre Lucas <>
 - Check for libwrap if --with-tcp-wrappers option specified. Suggestion
   Mate Wierdl <>

 - Added "make host-key" target, Suggestion from Dominik Brettnacher
 - Don't permanently fail on bind() if getaddrinfo has more choices left for
   us. Needed to work around messy IPv6 on Linux. Patch from Arkadiusz
   Miskiewicz <>
 - DEC Unix compile fix from David Del Piero <>
 - Manpage fix from David Del Piero <>

 - Big cleanup of autoconf code
   - Rearranged to be a little more logical
   - Added -R option for Solaris
   - Rewrote OpenSSL detection code. Now uses AC_TRY_RUN with a test program
     to detect library and header location _and_ ensure library has proper
     RSA support built in (this is a problem with OpenSSL 0.9.5).
 - Applied pty cleanup patch from
 - Avoid warning message with Unix98 ptys
 - Warning was valid - possible race condition on PTYs. Avoided using
   platform-specific code.
 - Document some common problems
 - Allow root access to any key. Patch from

 - Removed SOCKS code. Will support through a ProxyCommand.

 - Fixed SEGVs in authloop, fix from
 - Add --with-ssl-dir option

 - Fix lastlog code for directory based lastlogs. Fix from Josh Durham
 - Documentation fixes from HARUYAMA Seigo <>
 - Added URLs to Japanese translations of documents by HARUYAMA Seigo

 - Use socket pairs by default (instead of pipes). Prevents race condition
   on several (buggy) OSs. Report and fix from

 - Seed OpenSSL's random number generator before generating RSA keypairs
 - Split random collector into seperate file
 - Compile fix from Andre Lucas <>

 - Released 1.2.2 stable

 - NeXT keeps it lastlog in /usr/adm. Report from
 - Added note in UPGRADING re interop with commercial SSH using idea.
   Report from Jim Knoble <>
 - Fix linking order for Kerberos/AFS. Fix from Holget Trapp

 - Fix NULL pointer dereference in login.c. Fix from Andre Lucas
 - Reorder PAM initialisation so it does not mess up lastlog. Reported
   by Andre Lucas <>
 - Use preformatted manpages on SCO, report from Gary E. Miller
 - New URL for x11-ssh-askpass.
 - Fixpaths was missing /etc/ssh_known_hosts. Report from Jim Knoble
 - Added 'DESTDIR' option to Makefile to ease package building. Patch from
   Jim Knoble <>
 - Updated RPM spec files to use DESTDIR

 - Pick up version 1.2.2 from OpenBSD CVS (no changes, just version number

 - OpenBSD CVS:
   - [packet.c]
     getsockname() requires initialized tolen;
 - AIX patch from Matt Richards <> and David Rankin
 - Fix lastlog support, patch from Andre Lucas <>

 - Fix compilation of bsd-snprintf.c on Solaris, fix from Ben Taylor
 - Merge preformatted manpage patch from Andre Lucas
 - Make IPv4 use the default in RPM packages
 - Irix uses preformatted manpages
 - Missing htons() in bsd-bindresvport.c, fix from Holger Trapp
 - OpenBSD CVS updates:
   - [packet.c]
     use getpeername() in packet_connection_is_on_socket(), fixes sshd -i;
     from Holger.Trapp@Informatik.TU-Chemnitz.DE
   - [sshd.c]
     log with level log() not fatal() if peer behaves badly.
   - [readpass.c]
     instead of blocking SIGINT, catch it ourselves, so that we can clean
     the tty modes up and kill ourselves -- instead of our process group
     leader (scp, cvs, ...) going away and leaving us in noecho mode.
     people with cbreak shells never even noticed..
   - [ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 sshd.8]
     ie. -> i.e.,

 - Don't use getaddrinfo on AIX
 - Update to latest OpenBSD CVS:
   - [auth-rsa.c]
     - fix user/1056, sshd keeps restrictions;
   - [sshconnect.c]
     - disable agent fwding for proto 1.3, remove abuse of auth-rsa flags.
     - destroy keys earlier
     - split key exchange (kex) and user authentication (user-auth),
       ok: provos@
   - [sshd.c]
     - no need for poll.h; from
     - disable agent fwding for proto 1.3, remove abuse of auth-rsa flags.
     - split key exchange (kex) and user authentication (user-auth),
       ok: provos@
 - Big manpage and config file cleanup from Andre Lucas
   - Re-added latest (unmodified) OpenBSD manpages
 - Doc updates
 - NetBSD patch from David Rankin <> and
   Christos Zoulas <>

 - SCO compile fixes from Gary E. Miller <>
 - Compile fix from
 - Linux/glibc-2.1.2 takes a *long* time to look up names for AF_UNSPEC
   addresses using getaddrinfo(). Added a configure switch to make the
   default lookup mode AF_INET

 - Fixed --with-pid-dir option
 - Makefile fix from Gary E. Miller <>
 - Compile fix for HPUX and Solaris from Andre Lucas

 - Clean up bsd-bindresvport.c. Use arc4random() for picking initial
   port, ignore EINVAL errors (Linux) when searching for free port.
 - Revert __snprintf -> snprintf aliasing. Apparently Solaris
   __snprintf isn't. Report from Theo de Raadt <>
 - Document location of Redhat PAM file in INSTALL.
 - Fixed X11 forwarding bug on Linux. libc advertises AF_INET6
   INADDR_ANY_INIT addresses via getaddrinfo, but may not be able to
   deliver (no IPv6 kernel support)
 - Released 1.2.1pre27

 - Fix rresvport_af failure errors (logic error in bsd-bindresvport.c)
 - Fix --with-ipaddr-display option test. Fix from Jarno Huuskonen
 - Fix hang on logout if processes are still using the pty. Needs
   further testing.
 - Patch from Christos Zoulas <>
   - Try $prefix first when looking for OpenSSL.
   - Include sys/types.h when including sys/socket.h in test programs
 - Substitute PID directory in sshd.8. Suggestion from Andrew
   Stribblehill <>

 - Renamed --with-xauth-path to --with-xauth
 - Added --with-pid-dir option
 - Released 1.2.1pre26

 - Compilation fix from Kiyokazu SUTO <>
 - Fixed broken bugfix for /dev/ptmx on Linux systems which lack
   openpty(). Report from Kiyokazu SUTO <>

 - Add --with-xauth-path configure directive and explicit test for
   /usr/openwin/bin/xauth for Solaris systems. Report from Anders
   Nordby <>
 - Fix incorrect detection of /dev/ptmx on Linux systems that lack
   openpty. Report from John Seifarth <>
 - Look for intXX_t and u_intXX_t in sys/bitypes.h if they are not in
   sys/types.h. Fixes problems on SCO, report from Gary E. Miller
 - Use __snprintf and __vnsprintf if they are found where snprintf and
   vnsprintf are lacking. Suggested by Ben Taylor <>
   and others.

 - Merged OpenBSD IPv6 patch:
   - [sshd.c sshd.8 sshconnect.c ssh.h ssh.c servconf.h servconf.c scp.1]
     [scp.c packet.h packet.c login.c log.c canohost.c channels.c]
     [hostfile.c sshd_config]
     ipv6 support: mostly gethostbyname->getaddrinfo/getnameinfo, new
     features: sshd allows multiple ListenAddress and Port options. note
     that libwrap is not IPv6-ready. (based on patches from
   - [ssh.c canohost.c]
     more hints (hints.ai_socktype=SOCK_STREAM) for getaddrinfo,
     from itojun@
   - [channels.c]
     listen on _all_ interfaces for X11-Fwd (hints.ai_flags = AI_PASSIVE)
   - [packet.h]
     allow auth-kerberos for IPv4 only
   - [scp.1 sshd.8 servconf.h scp.c]
     document -4, -6, and 'ssh -L 2022/::1/22'
   - [ssh.c]
     'ssh @host' is illegal (null user name), from
   - [sshconnect.c]
     better error message
   - [sshd.c]
     allow auth-kerberos for IPv4 only
 - Big IPv6 merge:
   - Cleanup overrun in sockaddr copying on RHL 6.1
   - Replacements for getaddrinfo, getnameinfo, etc based on versions
     from patch from KIKUCHI Takahiro <>
   - Replacement for missing structures on systems that lack IPv6
   - record_login needed to know about AF_INET6 addresses
   - Borrowed more code from OpenBSD: rresvport_af and requisites

 - Fixes to auth-skey to enable it to use the standard OpenSSL libraries

 - New config.sub and config.guess to fix problems on SCO. Supplied
   by Gary E. Miller <>
 - SCO build fix from Gary E. Miller <>
 - Released 1.2.1pre25

 - Documentation update & cleanup
 - Better KrbIV / AFS detection, based on patch from:
   Holger Trapp <Holger.Trapp@Informatik.TU-Chemnitz.DE>

 - Fixed annoying DES corruption problem. libcrypt has been
   overriding symbols in libcrypto. Removed libcrypt and crypt.h
   altogether (libcrypto includes its own crypt(1) replacement)
 - Added platform-specific rules for Irix 6.x. Included warning that
   they are untested.

 - Add explicit make rules for files proccessed by fixpaths.
 - Fix "make install" in RPM spec files. Report from Tenkou N. Hattori
 - Removed "nullok" directive from default PAM configuration files.
   Added information on enabling EmptyPasswords on openssh+PAM in
   UPGRADING file.
 - OpenBSD CVS updates
   - [ssh-agent.c]
     cleanup_exit() for SIGTERM/SIGHUP, too. from fgsch@ and
   - [sshconnect.c]
     compare correct version for 1.3 compat mode

 - Prevent multiple inclusion of config.h and defines.h. Suggested
   by Andre Lucas <>
 - Properly clean up on exit of ssh-agent. Patch from Dean Gaudet

 - Fix password support on systems with a mixture of shadowed and
   non-shadowed passwords (e.g. NIS). Report and fix from
   HARUYAMA Seigo <>
 - Fix broken autoconf typedef detection. Report from Marc G.
   Fournier <>
 - Fix occasional crash on LinuxPPC. Patch from Franz Sirl
 - Prevent typedefs from being compiled more than once. Report from
   Marc G. Fournier <>
 - Fill in ut_utaddr utmp field. Report from Benjamin Charron
 - Really fix broken default path. Fix from Jim Knoble
 - Remove test for quad_t. No longer needed.
 - Released 1.2.1pre24

 - Added support for directory-based lastlogs
 - Really fix typedefs, patch from Ben Taylor <>

 - OpenBSD CVS updates:
   - [auth-passwd.c]
     check for NULL 1st
 - Removed most of the pam code into its own file auth-pam.[ch]. This
   cleaned up sshd.c up significantly.
 - PAM authentication was incorrectly interpreting
   "PermitRootLogin without-password". Report from Matthias Andree
 - Several other cleanups
 - Merged Dante SOCKS support patch from David Rankin
 - Updated documentation with ./configure options
 - Released 1.2.1pre23

 - Applied another NetBSD portability patch from David Rankin
 - Fix --with-default-path option.
 - Autodetect perl, patch from David Rankin
 - Print whether OpenSSH was compiled with RSARef, patch from
   Nalin Dahyabhai <>
 - Calls to pam_setcred, patch from Nalin Dahyabhai
 - Detect missing size_t and typedef it.
 - Rename helper.[ch] to (more appropriate) bsd-misc.[ch]
 - Minor Makefile cleaning

 - Replacement for getpagesize() for systems which lack it
 - NetBSD login.c compile fix from David Rankin
 - Fully set ut_tv if present in utmp or utmpx
 - Portability fixes for Irix 5.3 (now compiles OK!)
 - autoconf and other misc cleanups
 - Merged AIX patch from Darren Hall <>
 - Cleaned up defines.h
 - Released 1.2.1pre22

 - Automatically correct paths in manpages and configuration files. Patch
   and script from Andre Lucas <>
 - Removed credits from README to CREDITS file, updated.
 - Added --with-default-path to specify custom path for server
 - Removed #ifdef trickery from acconfig.h into defines.h
 - PAM bugfix. PermitEmptyPassword was being ignored.
 - Fixed PAM config files to allow empty passwords if server does.
 - Explained spurious PAM auth warning workaround in UPGRADING
 - Use last few chars of tty line as ut_id
 - New SuSE RPM spec file from Chris Saia <>
 - OpenBSD CVS updates:
   - [packet.h auth-rhosts.c]
     check format string for packet_disconnect and packet_send_debug, too
   - [channels.c]
     use packet_get_maxsize for channels. consistence.

 - Enabled utmpx support by default for Solaris
 - Cleanup sshd.c PAM a little more
 - Revised RPM package to include Jim Knoble's <>
   X11 ssh-askpass program.
 - Disable logging of PAM success and failures, PAM is verbose enough.
   Unfortunatly there is currently no way to disable auth failure
   messages. Mention this in UPGRADING file and sent message to PAM
 - OpenBSD CVS update:
   - [ssh-keygen.1 ssh.1]
     remove ref to .ssh/random_seed, mention .ssh/environment in
     .Sh FILES, too
 - Released 1.2.1pre21
 - Fixed implicit '.' in default path, report from Jim Knoble
 - Redhat RPM spec fixes from Jim Knoble <>

 - More fixes from Andre Lucas <>
 - Cleanup of auth-passwd.c for shadow and MD5 passwords
 - Cleanup and bugfix of PAM authentication code
 - Released 1.2.1pre20

 - Merged fixes from Ben Taylor <>
 - Fixed configure support for PAM. Reported by Naz <>
 - Disabled logging of PAM password authentication failures when password
   is empty. (e.g start of authentication loop). Reported by Naz

 - Merged later HPUX patch from Andre Lucas
 - Above patch included better utmpx support from Ben Taylor

 - Fix undefined fd_set type in ssh.h from Povl H. Pedersen
 - Fix login.c breakage on systems which lack ut_host in struct
   utmp. Reported by Willard Dawson <>

 - Integration of large HPUX patch from Andre Lucas
   <>. Integrating it had a few other
   - Ability to disable shadow passwords at configure time
   - Ability to disable lastlog support at configure time
   - Support for IP address in $DISPLAY
 - OpenBSD CVS update:
   - [sshconnect.c]
 - Fix DISABLE_SHADOW support
 - Allow MD5 passwords even if shadow passwords are disabled
 - Release 1.2.1pre19

 - Redhat init script patch from Chun-Chung Chen
 - Avoid breakage on systems without IPv6 headers

 - Makefile changes for Solaris from Peter Kocks
 - Minor updates to docs
 - Merged OpenBSD CVS changes:
   - [authfd.c ssh-agent.c]
     keysize warnings talk about identity files
   - [packet.c]
     "Connection closed by x.x.x.x": fatal() -> log()
 - Correctly handle empty passwords in shadow file. Patch from:
   "Chris, the Young One" <>
 - Released 1.2.1pre18

 - Integrated patchs from Juergen Keil <>
   - Avoid void* pointer arithmatic
   - Use LDFLAGS correctly
   - Fix SIGIO error in scp
   - Simplify status line printing in scp
 - Added better test for inline functions compiler support from

 - OpenBSD CVS Changes
   - [canohost.c]
     fix get_remote_port() and friends for sshd -i;
   - [mpaux.c]
     make code simpler. no need for memcpy. niels@ ok
   - [pty.c]
     namebuflen not sizeof namebuflen; via
     fix proto; markus
   - [ssh.1]
   - [channels.c ssh.c ssh.h sshd.c]
     type conflict for 'extern Type *options' in channels.c;
   - [sshconnect.c]
     move checking of hostkey into own function.
   - [version.h]
 - Clean up broken includes in pty.c
 - Some older systems don't have poll.h, they use sys/poll.h instead
 - Doc updates

 - Fix compilation on systems with AFS. Reported by
 - Fix installation on Solaris. Reported by
   Gordon Rowell <>
 - Fix gccisms (__attribute__ and inline). Report by,
   patch from Markus Friedl <>
 - Auto-locate xauth. Patch from David Agraz <>
 - Compile fix from David Agraz <>
 - Avoid compiler warning in bsd-snprintf.c
 - Added to default PAM config. Suggested by
   Jim Knoble <>

 - Import of patch from Ben Taylor <>:
   - Improved PAM support
   - "uninstall" rule for Makefile
   - utmpx support
   - Should fix PAM problems on Solaris
 - OpenBSD CVS updates:
   - [readpass.c]
     avoid stdio; based on work by markus, millert, and I
   - [sshd.c]
     make sure the client selects a supported cipher
   - [sshd.c]
     fix sighup handling.  accept would just restart and daemon handled
     sighup only after the next connection was accepted. use poll on
     listen sock now.
   - [sshd.c]
     make that a fatal
 - Applied patch from David Rankin <>
   to fix libwrap support on NetBSD
 - Released 1.2pre17

 - Compile fix for Solaris with /dev/ptmx from
   David Agraz <>

 - sshd Redhat init script patch from Jim Knoble <>
   fixes compatability with 4.x and 5.x
 - Fixed default SSH_ASKPASS
 - Fix PAM account and session being called multiple times. Problem
   reported by Adrian Baugh <>
 - Merged more OpenBSD changes:
   - [atomicio.c authfd.c scp.c serverloop.c ssh.h sshconnect.c sshd.c]
     move atomicio into it's own file.  wrap all socket write()s which
     were doing write(sock, buf, len) != len, with atomicio() calls.
   - [auth-skey.c]
     fd leak
   - [authfile.c]
     properly name fd variable
   - [channels.c]
     display great hatred towards strcpy
   - [pty.c pty.h sshd.c]
     use openpty() if it exists (it does on BSD4_4)
   - [tildexpand.c]
     check for ~ expansion past MAXPATHLEN
 - Modified helper.c to use new atomicio function.
 - Reformat Makefile a little
 - Moved RC4 routines from rc4.[ch] into helper.c
 - Added autoconf code to detect /dev/ptmx (Solaris) and /dev/ptc (AIX)
 - Updated SuSE spec from Chris Saia <>
 - Tweaked Redhat spec
 - Clean up bad imports of a few files (forgot -kb)
 - Released 1.2pre16

 - Small cleanup of PAM code in sshd.c
 - Merged OpenBSD CVS changes:
   - [auth-krb4.c auth-passwd.c auth-skey.c ssh.h]
     move skey-auth from auth-passwd.c to auth-skey.c, same for krb4
   - [auth-rsa.c]
     warn only about mismatch if key is _used_
     warn about keysize-mismatch with log() not error()
     channels.c readconf.c readconf.h ssh.c ssh.h sshconnect.c
     ports are u_short
   - [hostfile.c]
     indent, shorter warning
   - [nchan.c]
     use error() for internal errors
   - [packet.c]
     set loglevel for SSH_MSG_DISCONNECT to log(), not fatal()
   - [ssh-add.1 ssh-add.c ssh.h]
     document $SSH_ASKPASS, reasonable default
   - [ssh.1]
     CheckHostIP is not available for connects via proxy command
   - [sshconnect.c]
     easier to read client code for passwd and skey auth
     turn of checkhostip for proxy connects, since we don't know the remote ip

 - Add definition for __P()
 - Added [v]snprintf() replacement for systems that lack it

 - More reformatting merged from OpenBSD CVS
 - Merged OpenBSD CVS changes:
   - [channels.c]
     fix packet_integrity_check() for !have_hostname_in_open.
     report from via
   - [channels.c]
     set SO_REUSEADDR and SO_LINGER for forwarded ports. via
   - [nchan.c]
     it's not an error() if shutdown_write failes in nchan.
   - [readconf.c]
     remove dead #ifdef-0-code
   - [readconf.c servconf.c]
     strcasecmp instead of tolower
   - [scp.c]
     progress meter overflow fix from
   - [ssh-add.1 ssh-add.c]
     SSH_ASKPASS support
   - [ssh.1 ssh.c]
     postpone fork_after_authentication until command execution,
     request/patch from via
     plus: use daemon() for backgrounding
 - Added BSD compatible install program and autoconf test, thanks to
   Niels Kristian Bech Jensen <>
 - Solaris fixing, thanks to Ben Taylor <>
 - Merged beginnings of AIX support from Tor-Ake Fransson <>
 - Release 1.2pre15

 - Merged very large OpenBSD source code reformat
 - OpenBSD CVS updates
   - [channels.c cipher.c compat.c log-client.c scp.c serverloop.c]
     [ssh.h sshd.8 sshd.c]
     syslog changes:
     * Unified Logmessage for all auth-types, for success and for failed
     * Standard connections get only ONE line in the LOG when level==LOG:
       Auth-attempts are logged only, if authentication is:
          a) successfull or
          b) with passwd or
          c) we had more than AUTH_FAIL_LOG failues
     * many log() became verbose()
     * old behaviour with level=VERBOSE
   - [readconf.c readconf.h ssh.1 ssh.h sshconnect.c sshd.c]
     tranfer s/key challenge/response data in SSH_SMSG_AUTH_TIS_CHALLENGE
     messages. allows use of s/key in windows (ttssh, securecrt) and
     ssh-1.2.27 clients without 'ssh -v', ok: niels@
   - [sshd.8]
     -V, for fallback to openssh in SSH2 compatibility mode
   - [sshd.c]
     fix sigchld race;

 - Added SuSE package files from Chris Saia <>
 - Restructured package-related files under packages/*
 - Added generic PAM config
 - Numerous little Solaris fixes
 - Add recommendation to use GNU make to INSTALL document

 - Make <enter> close gnome-ssh-askpass (Debian bug #50299)
 - OpenBSD CVS Changes
   - [ssh-keygen.c]
     don't create ~/.ssh only if the user wants to store the private
     key there. show fingerprint instead of public-key after
     keygeneration. ok niels@
 - Added OpenBSD bsd-strlcat.c, created bsd-strlcat.h
 - Added timersub() macro
 - Tidy RCSIDs of bsd-*.c
 - Added autoconf test and macro to deal with old PAM libraries
   pam_strerror definition (one arg vs two).
 - Fix EGD problems (Thanks to Ben Taylor <>)
 - Retry /dev/urandom reads interrupted by signal (report from
   Robert Hardy <>)
 - Added a setenv replacement for systems which lack it
 - Only display public key comment when presenting ssh-askpass dialog
 - Released 1.2pre14

 - Configure, Make and changelog corrections from Tudor Bosman
   <> and Niels Kristian Bech Jensen <>

 - OpenBSD CVS Changes:
   - [channels.c]
     make this compile, bad markus
   - [log.c readconf.c servconf.c ssh.h]
     bugfix: loglevels are per host in clientconfig,
     factor out common log-level parsing code.
   - [servconf.c]
     remove unused index (-Wall)
   - [ssh-agent.c]
     only one 'extern char *__progname'
   - [sshd.8]
     document SIGHUP, -Q to synopsis
   - [sshconnect.c serverloop.c sshd.c packet.c packet.h]
     [channels.c clientloop.c]
     SSH_CMSG_MAX_PACKET_SIZE, some clients use this, some need this, niels@
     [hope this time my ISP stays alive during commit]
   - [OVERVIEW README] typos; green@freebsd
   - [ssh-keygen.c]
     replace xstrdup+strcat with strlcat+fixed buffer, fixes OF (bad me)
     exit if writing the key fails (no infinit loop)
     print usage() everytime we get bad options
   - [ssh-keygen.c] overflow,
   - [sshd.c] fix sigchld race;

 - Merged more Solaris support from Marc G. Fournier
 - Wrote autoconf tests for integer bit-types
 - Fixed enabling kerberos support
 - Fix segfault in ssh-keygen caused by buffer overrun in filename

 - Merged PAM buffer overrun patch from Chip Salzenberg <>
 - Merged OpenBSD CVS changes
   - [auth-rhosts.c auth-rsa.c ssh-agent.c sshconnect.c sshd.c]
     more %d vs. %s in fmt-strings
   - [authfd.c]
     Integers should not be printed with %s
 - EGD uses a socket, not a named pipe. Duh.
 - Fix includes in fingerprint.c
 - Fix scp progress bar bug again.
 - Move ssh-askpass from ${libdir}/ssh to ${libexecdir}/ssh at request of
   David Rankin <>
 - Added autoconf option to enable Kerberos 4 support (untested)
 - Added autoconf option to enable AFS support (untested)
 - Added autoconf option to enable S/Key support (untested)
 - Added autoconf option to enable TCP wrappers support (compiles OK)
 - Renamed BSD helper function files to bsd-*
 - Added tests for login and daemon and enable OpenBSD replacements for
   when they are absent.
 - Added non-PAM MD5 password support patch from Tudor Bosman <>

 - Merged OpenBSD CVS changes
   - [scp.c] foregroundproc() in scp
   - [sshconnect.h] include fingerprint.h
   - [sshd.c] bugfix: the log() for passwd-auth escaped during logging
   - [ssh.1] Spell my name right.
 - Added info to README

 - Merged OpenBSD CVS changes
   - [ChangeLog.Ylonen] noone needs this anymore
   - [authfd.c] close-on-exec for auth-socket, ok deraadt
   - [hostfile.c]
     in known_hosts key lookup the entry for the bits does not need
     to match, all the information is contained in n and e. This
     solves the problem with buggy servers announcing the wrong
     modulus length.  markus and me.
   - [serverloop.c]
     bugfix: check for space if child has terminated, from:
   - [ssh-add.1 ssh-add.c ssh-keygen.1 ssh-keygen.c sshconnect.c]
     [fingerprint.c fingerprint.h]
     rsa key fingerprints, idea from Bjoern Groenvall <>
   - [ssh-agent.1] typo
   - [ssh.1] add OpenSSH information to AUTHOR section. okay markus@
   - [sshd.c]
     force logging to stderr while loading private key file
     (lost while converting to new log-levels)

 - Fix some Linux libc5 problems reported by Miles Wilson <>
 - Merged OpenBSD CVS changes:
   - [auth-rh-rsa.c auth-rsa.c authfd.c authfd.h hostfile.c mpaux.c]
     [mpaux.h ssh-add.c ssh-agent.c ssh.h ssh.c sshd.c]
     the keysize of rsa-parameter 'n' is passed implizit,
     a few more checks and warnings about 'pretended' keysizes.
   - [cipher.c cipher.h packet.c packet.h sshd.c]
     remove support for cipher RC4
   - [ssh.c]
     a note for legay systems about secuity issues with permanently_set_uid(),
     the private hostkey and ptrace()
   - [sshconnect.c]
     more detailed messages about adding and checking hostkeys

 - Merged OpenBSD CVS changes:
   - [ssh-add.c] change passphrase loop logic and remove ref to
     $DISPLAY, ok niels
 - Changed to ssh-add.c broke askpass support. Revised it to be a little more
 - Revised autoconf support for enabling/disabling askpass support.
 - Merged more OpenBSD CVS changes:
     - disconnect if getpeername() fails
     - missing xfree(*client)
     - disconnect if getpeername() fails
     - fix comment: we _do_ disconnect if ip-options are set
     - disconnect if getpeername() fails
     - move checking of remote port to central place
   [auth-rhosts.c] move checking of remote port to central place
   [log-server.c] avoid extra fd per sshd, from millert@
   [readconf.c] print _all_ bad config-options in ssh(1), too
   [readconf.h] print _all_ bad config-options in ssh(1), too
   [ssh.c] print _all_ bad config-options in ssh(1), too
   [sshconnect.c] disconnect if getpeername() fails
 - OpenBSD's changes to sshd.c broke the PAM stuff, re-merged it.
 - Various small cleanups to bring diff (against OpenBSD) size down.
 - Merged more Solaris compability from Marc G. Fournier
 - Wrote autoconf tests for __progname symbol
 - RPM spec file fixes from Jim Knoble <>
 - Released 1.2pre12

 - Another OpenBSD CVS update:
   - [ssh-keygen.1] fix .Xr

 - Solaris compilation fixes (still imcomplete)

 - Build patch from Niels Kristian Bech Jensen <>
   - Don't install config files if they already exist
   - Fix inclusion of additional preprocessor directives from acconfig.h
 - Removed redundant inclusions of config.h
 - Added 'Obsoletes' lines to RPM spec file
 - Merged OpenBSD CVS changes:
   - [bufaux.c] save a view malloc/memcpy/memset/free's, ok niels
   - [scp.c] fix overflow reported by off_t
     totalsize, ok niels,aaron
 - Delay fork (-f option) in ssh until after port forwarded connections
   have been initialised. Patch from Jani Hakala <>
 - Added shadow password patch from Thomas Neumann <>
 - Added ifdefs to auth-passwd.c to exclude it when PAM is enabled
 - Tidied default config file some more
 - Revised Redhat initscript to fix bug: sshd (re)start would fail
   if executed from inside a ssh login.

 - Merged changes from OpenBSD CVS
   - [sshd.c] session_key_int may be zero
   - [auth-rh-rsa.c servconf.c servconf.h ssh.h sshd.8 sshd.c sshd_config]
     IgnoreUserKnownHosts(default=no), used for RhostRSAAuth, ok
 - Brought default sshd_config more in line with OpenBSD's
 - Grab server in gnome-ssh-askpass (Debian bug #49872)
 - Released 1.2pre10

 - Added INSTALL documentation
 - Merged yet more changes from OpenBSD CVS
   - [auth-rh-rsa.c auth-rhosts.c auth-rsa.c channels.c clientloop.c]
     [ssh.c ssh.h sshconnect.c sshd.c]
     make all access to options via 'extern Options options'
     and 'extern ServerOptions options' respectively;
     options are no longer passed as arguments:
      * make options handling more consistent
      * remove #include "readconf.h" from ssh.h
      * readconf.h is only included if necessary
   - [mpaux.c] clear temp buffer
   - [servconf.c] print _all_ bad options found in configfile
 - Make ssh-askpass support optional through autoconf
 - Fix nasty division-by-zero error in scp.c
 - Released 1.2pre11

 - Added (untested) Entropy Gathering Daemon (EGD) support
 - Fixed /dev/urandom fd leak (Debian bug #49722)
 - Merged OpenBSD CVS changes:
   - [auth-rh-rsa.c] user/958: check ~/.ssh/known_hosts for rhosts-rsa, too
   - [ssh.1] user/958: check ~/.ssh/known_hosts for rhosts-rsa, too
   - [sshd.8] user/958: check ~/.ssh/known_hosts for rhosts-rsa, too
 - Fix integer overflow which was messing up scp's progress bar for large
   file transfers. Fix submitted to OpenBSD developers. Report and fix
   from Kees Cook <>
 - Merged more OpenBSD CVS changes:
   - [auth-krb4.c auth-passwd.c] remove x11- and krb-cleanup from fatal()
     + krb-cleanup cleanup
   - [clientloop.c log-client.c log-server.c ]
     [readconf.c readconf.h servconf.c servconf.h ]
     [ssh.1 ssh.c ssh.h sshd.8]
     add LogLevel {QUIET, FATAL, ERROR, INFO, CHAT, DEBUG} to ssh/sshd,
     obsoletes QuietMode and FascistLogging in sshd.
   - [sshd.c] fix fatal/assert() bug reported by
     allow session_key_int != sizeof(session_key)
     [this should fix the pre-assert-removal-core-files]
 - Updated default config file to use new LogLevel option and to improve

 - Merged several minor fixes:
   - ssh-agent commandline parsing
   - RPM spec file now installs ssh setuid root
   - Makefile creates libdir
   - Merged beginnings of Solaris compability from Marc G. Fournier

 - Autodetection of SSL/Crypto library location via autoconf
 - Fixed location of ssh-askpass to follow autoconf
 - Integrated Makefile patch from Niels Kristian Bech Jensen <>
 - Autodetection of RSAref library for US users
 - Minor doc updates
 - Merged OpenBSD CVS changes:
   - [rsa.c] bugfix: use correct size for memset()
   - [sshconnect.c] warn if announced size of modulus 'n' != real size
 - Added GNOME passphrase requestor (use --with-gnome-askpass)
 - RPM build now creates subpackages
 - Released 1.2pre9

 - Removed debian/ directory. This is now being maintained separately.
 - Added symlinks for slogin in RPM spec file
 - Fixed permissions on manpages in RPM spec file
 - Added references to required libraries in README file
 - Removed from CVS
 - Removed pwdb support (better pluggable auth is provided by glibc)
 - Made PAM and requisite libdl optional
 - Removed lots of unnecessary checks from autoconf
 - Added support and autoconf test for openpty() function (Unix98 pty support)
 - Fix for scp not finding ssh if not installed as /usr/bin/ssh
 - Added TODO file
 - Merged parts of Debian patch From Phil Hands <>:
   - Added ssh-askpass program
   - Added ssh-askpass support to ssh-add.c
   - Create symlinks for slogin on install
   - Fix "distclean" target in makefile
   - Added example for ssh-agent to manpage
   - Added support for PAM_TEXT_INFO messages
   - Disable internal /etc/nologin support if PAM enabled
 - Merged latest OpenBSD CVS changes:
   - [all] replace assert() with error, fatal or packet_disconnect
   - [sshd.c] don't send fail-msg but disconnect if too many authentication
   - [sshd.c] remove unused argument. ok dugsong
   - [sshd.c] typo
   - [rsa.c] clear buffers used for encryption. ok: niels
   - [rsa.c] replace assert() with error, fatal or packet_disconnect
   - [auth-krb4.c] remove unused argument. ok dugsong
 - Fixed coredump after merge of OpenBSD rsa.c patch
 - Released 1.2pre8

 - Merged change from OpenBSD CVS
  - One-line cleanup in sshd.c

 - Integrated debian package support from Dan Brosemer <>
 - Merged latest updates for OpenBSD CVS:
   - channels.[ch] - remove broken x11 fix and document istate/ostate
   - ssh-agent.c - call setsid() regardless of argv[]
   - ssh.c - save a few lines when disabling rhosts-{rsa-}auth
 - Documentation cleanups
 - Renamed README -> README.Ylonen
 - Renamed README.openssh ->README

 - Renamed openssh* back to ssh* at request of Theo de Raadt
 - Incorporated latest changes from OpenBSD's CVS
 - Integrated Makefile patch from  Niels Kristian Bech Jensen <>
 - Integrated PAM env patch from Nalin Dahyabhai <>
 - Make distclean now removed configure script
 - Improved PAM logging
 - Added some debug() calls for PAM
 - Removed redundant subdirectories
 - Integrated part of a patch from Dan Brosemer <> for
   building on Debian.
 - Fixed off-by-one error in PAM env patch
 - Released 1.2pre6

 - Further PAM enhancements.
   - Much cleaner
   - Now uses account and session modules for all logins.
 - Integrated patch from Dan Brosemer <>
   - Build fixes
   - Autoconf
   - Change binary names to open*
 - Fixed autoconf script to detect PAM on RH6.1
 - Added tests for libpwdb, and OpenBSD functions to autoconf
 - Released 1.2pre4

 - Imported latest OpenBSD CVS code
 - Updated README.openssh
 - Released 1.2pre5

 - Adapted PAM patch.
 - Released 1.0pre2

 - Excised my buggy replacements for strlcpy and mkdtemp
 - Imported correct OpenBSD strlcpy and mkdtemp routines.
 - Reduced arc4random_stir entropy read to 32 bytes (256 bits)
 - Picked up correct version number from OpenBSD
 - Added sshd.pam PAM configuration file
 - Added sshd.init Redhat init script
 - Added openssh.spec RPM spec file
 - Released 1.2pre3

 - Fixed include paths of OpenSSL functions
 - Use OpenSSL MD5 routines
 - Imported RC4 code from nanocrypt
 - Wrote replacements for OpenBSD arc4random* functions
 - Wrote replacements for strlcpy and mkdtemp
 - Released 1.0pre1

$Id: ChangeLog,v 2001/12/05 09:07:05 bbraun Exp $