OpenSSH supports two types of encryption, namely host-based authentication and public-key authentication. OpenSSH支持两种类型的加密,即基于主机的认证和公钥认证。
This password check is done even if the user is following the public key or host-based authentication. 即使用户采用公共密钥或基于主机的身份验证(HBA),也会执行这个密码检查。
Host-based authentication in SSH SSH中基于主机的身份验证(HBA)
Host-based authentication in SSH is used when a user on a trusted host wants to log on to a remote machine, which could be an untrusted system. 当可信主机上的用户希望登录远程计算机(可以是不可信的系统)时,使用SSH中基于主机的身份验证(HBA)。
Host-based authentication is generally a quick and dirty way to raise the bar a notch, but is close to useless. 基于主机的认证通常是设置防护的快速和直接的方法,但它接近于无效。