用户访问是通过 ssh 的身份验证方案完成的。如上所述,这是用户访问系统的方式,同时保持高水平的安全性。 如果您不熟悉 ssh,请查看 http://www.ssh.org/。 请注意,我使用的是 ssh 版本 1,而不是版本 2。两者有很大的区别,特别是版本 1 是免费的,而版本 2 不是。
您需要配置 sshd。 想法是禁用密码身份验证和 rhosts 身份验证。 以下选项应该存在于您的/etc/sshd_config文件中。
PermitRootLogin yes IgnoreRhosts yes StrictModes yes QuietMode no CheckMail no IdleTimeout 3d X11Forwarding no PrintMotd no KeepAlive yes RhostsAuthentication no RhostsRSAAuthentication no RSAAuthentication yes PasswordAuthentication no PermitEmptyPasswords no UseLogin no |