Port 5022 ListenAddress 127.0.0.1 ListenAddress ::1 HostKey /home/user/projects/pam_firstcomefirstserve/sshd_test/ssh_host_ed25519_key # with PAM doesn't kbd-interactive follow the design better? we see if password can work anyway PasswordAuthentication yes PermitEmptyPasswords no KbdInteractiveAuthentication no AuthenticationMethods password UsePAM yes Subsystem sftp internal-sftp #ForceCommand /usr/lib64/misc/sftp-server -d /%u ChrootDirectory /srv/testupload X11Forwarding no AllowTcpForwarding no AllowAgentForwarding no ForceCommand internal-sftp -d /%u