test-ubuntu / sshd_config.template
ueihdda's picture
Upload 2 files
297de14 verified
raw
history blame contribute delete
570 Bytes
Port 2222
HostKey $PWD/ssh_host_rsa_key
# PAM is necessary for password authentication on Debian-based systems
UsePAM yes
# Allow interactive authentication (default value)
#KbdInteractiveAuthentication yes
# Same as above but for older SSH versions (default value)
#ChallengeResponseAuthentication yes
# Allow password authentication (default value)
#PasswordAuthentication yes
# Only allow single user
AllowUsers $USER
# Only allow those keys
AuthorizedKeysFile $PWD/authorized_keys
# Force to start tmux on login
ForceCommand tmux attach
# vim: ft=sshdconfig