2 ms·
> This is a port of OpenBSD's OpenSSH to most Unix-like operating systems, including Linux, OS X and Cygwin. Portable OpenSSH polyfills OpenBSD APIs that are no
by throw0101c 2y ago
> This is a port of OpenBSD's OpenSSH to most Unix-like operating systems, including Linux, OS X and Cygwin. Portable OpenSSH polyfills OpenBSD APIs that are not available elsewhere, adds sshd sandboxing for more operating systems and includes support for OS-native authentication and auditing (e.g. using PAM).
* https://github.com/openssh/openssh-portable https://github.com/openssh/openssh-portable
Perhaps see specifically the "openbsd-compat" directory, otherwise I think the source tree is very close the the 'OpenBSD version':
* https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/ https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/