我使用OpenSSH 6.7版运行Debian Linux jessie。 我在/etc/ssh/sshd_config
使用AuthenticationMethods
指令。 我知道这些string被AuthenticationMethods
识别:
keyboard-interactive gssapi-with-mic password publickey
我在哪里可以find可与AuthenticationMethods
一起使用的所有有效string的列表? (这样的列表不在sshd_config
的手册页中。)
这没有logging得很清楚(或根本没有)。 但这是我能find的。 在OpenSSH 6.2中, 只有4种方法
只有四种允许的方法:publickey,password,hostbased和keyboard-interactive。
其他人也感到需要更多的文档 。 请参阅附件3045 ,其中规定了OpenSSH 7.5:
可用的身份validation方法为:gssapi-with-mic,hostbased,keyboard-interactive,none(用于在启用PermitEmptyPassword时访问无密码帐户),密码和publickey。
希望有所帮助。