Skip to content

Instantly share code, notes, and snippets.

@hanabokuro
Last active September 14, 2017 07:01
Show Gist options
  • Save hanabokuro/92e66918d7e72b04bce1f43140e3d49e to your computer and use it in GitHub Desktop.
Save hanabokuro/92e66918d7e72b04bce1f43140e3d49e to your computer and use it in GitHub Desktop.
sshd_config

CentOS 7.3 OpenSSH 6.6.1

ChallengeResponseAuthentication yes
UsePAM yes
AuthenticationMethods publickey,keyboard-interactive
$ sudo sshd -t
Disabled method "keyboard-interactive" in AuthenticationMethods list "publickey,keyboard-interactive"
AuthenticationMethods cannot be satisfied by enabled authentication methods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment