# Note: depends on openssl
# Note: depends on zlib
wget https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.3p1.tar.gz
tar -xzf openssh-8.3p1.tar.gz
cd openssh-8.3p1
mkdir -p build
cd build
# Note: we specify the location of xauth so that openssh knows its location even if we don't install xauth until later
../configure --prefix="/usr" --sysconfdir="/etc" --with-xauth="/usr/bin/xauth"
make # Doesn't mind -j#
useradd -M -r -s /sbin/nologin sshd
make install