wolfssh/scripts
John Safranek b05fe9f4c9 Unbuffer stdin before a client password prompt
The password prompt reads stdin with fgets(), and a buffered stdin
keeps its own copy of the line in libc for the life of the process.
The clients make stdin unbuffered before any stdin I/O, so the typed
password lands only in the buffer ClientUserAuth() wipes.

- the wolfssh app, and the example client, sftp client and scp client
  whether or not -P was given, as keyboard-interactive reads stdin too
- ClientUnbufferStdin() acts once per process and reports a failure
- scripts/sshclient.test sends the session data right after the
  password, with no sleep

Issue: F-15669
2026-11-03 16:24:06 -06:00
..
fwd-bulk.test
…
fwd.test
…
fwd.test.expect
…
get-put.test
…
include.am
…
openssh-interop.test echoserver: limit direct-tcpip destinations 2026-11-03 15:44:32 -06:00
sbom.am
…
scp.test
…
sftp.test
…
sshclient.test Unbuffer stdin before a client password prompt 2026-11-03 16:24:06 -06:00