受密码保护的 ssh 密钥 - 只被要求输入密码一次
我使用 rsa 加密的 ssh 密钥来访问某些服务器 - 私钥受密码保护。
我过去使用过这种类型的配置,并且我知道使用 gnome-keyring 通常应该要求我在每个会话中确认一次密钥的密码。 但是,自从我第一次输入密码后,就再也没有人要求我输入密码。
我可以验证私钥是否受密码保护,我已在其他计算机上尝试了相同的密钥(其中要求我输入密码),并且我已通过 gnome-keyring 管理器更改了密码。不过,自从第一次以来我就没有被要求过!
知道这里会发生什么吗?
谢谢!
I'm using an rsa-encrypted ssh key for accessing certain servers - the private key is password-protected.
I have used this type of configuration in the past, and I'm aware that using the gnome-keyring I should normally be asked to confirm the password for my key once per session.
However, since I entered my password for the first time, I was never asked for it again.
I can verify that the private key is password-protected, I have tried the same key on other machines (where I've been asked for the password) and I have changed the password through the gnome-keyring manager. Still, I'm not being asked for it since that first time!
Any idea what might be happening here?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的 rsa 密钥的密码与系统上从未要求您输入密码的用户名的密码相同。当您登录 gnome 时,如果用户密码与密钥密码匹配,则 gnome-keyring 将自动使用用户密码。
The password of your rsa key is the same as the password for your username on the system where you were never asked for the password. When you log into gnome, the gnome-keyring will automatically use the user password if it matches the key password.