Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我尝试为长度小于 4 的密码创建公钥对时,由于长度原因,它确实接受了我的密码
是否可以选择使用带有短密码的 scp
短密码很容易破解,因此价值有限。如果您想保护您的密钥,您可能应该选择更长的密码。
如果您不需要该级别的安全性,您可以创建不带密码短语的密钥对(对于 OpenSSH,在密钥对生成过程中提示您输入密码时,只需按回车键)。