19 lines
591 B
Plaintext
19 lines
591 B
Plaintext
# USB-only diagnostic SSH listener. Uses the non-PAM /usr/sbin/sshd (this
|
|
# file deliberately contains no UsePAM directive, which that binary rejects)
|
|
# so a broken PAM stack can never lock the developer out of the phone.
|
|
Port 2222
|
|
ListenAddress 172.16.42.1:2222
|
|
HostKey /etc/ssh/ssh_host_ed25519_key
|
|
PidFile /run/sshd-debug.pid
|
|
PermitRootLogin yes
|
|
PasswordAuthentication yes
|
|
KbdInteractiveAuthentication no
|
|
PubkeyAuthentication yes
|
|
AuthorizedKeysFile .ssh/authorized_keys
|
|
PermitEmptyPasswords no
|
|
UseDNS no
|
|
AllowTcpForwarding no
|
|
GatewayPorts no
|
|
X11Forwarding no
|
|
Subsystem sftp internal-sftp
|