密码和svn
您好,我正在通过 svn+ssh:// 类型的 URL 访问存储库 阅读以下来自 Adobe 的 SVN 和 SSH 的引用,我有点困惑
“之前您为 SVN+SSH 配置 Subversion 或 Dreamweaver,创建 RSA 密钥对并在服务器上配置公钥。此公钥/私钥对用于对服务器进行身份验证,而不是以明文形式存储和传递密码。 文本。”
因此,如果我只是通过 svn+ssh:// pe 访问存储库。从命令行,我的密码以明文形式发送?我认为 ssh 的一部分是加密密码,不是吗?
也许我不清楚,我没有生成任何密钥对,所以每次都使用我的密码,这是否会改变任何内容,或者引用的方式是否令人困惑?谢谢。
Hi I am accessing a repository through a URL of type svn+ssh://
Reading the following quote from SVN and SSH from Adobe I am a little confused
"Before you configure Subversion or Dreamweaver for SVN+SSH, create an RSA key pair and configure the public key on the server. This public/private key pair is used to authenticate with the server, instead of storing and passing your password in plain text."
So if I just acces a repository by svn+ssh:// pe. from command line, my password is send in clear text ? I thought part of ssh was to encrypt the password, no ?
Maybe I was unclear, I have not generated any keypairs so use my password every time, does that change anything or is the quote written in confusing way ? Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
ssh 的一部分是加密所有内容,而不仅仅是您的密码。因此,您的密码不会以纯文本形式通过网络传输。
Part of ssh is to encrypt everything, not just your password. So, your password would not be going over the wire in plain text.
SSH 从不以纯文本形式发送密码。但是,非 SSH 协议(例如 svn://)可能会以纯文本形式发送密码。 Adobe 建议用户使用 SSH。 Adobe 还建议,如果使用 SSH,则也使用 RSA 密钥对。密钥对更容易,因为您不必为每个操作都输入密码(与 SSH 代理一起使用时)。
SSH never sends passwords in plain text. However, non-SSH protocols such as svn:// may send the password in plain text. Adobe is recommending that users use SSH. Adobe also recommends that if SSH is used, then RSA key pairs are also used. Key pairs are easier because you don't have to keep typing your password for every operation (when used with an SSH agent).
在这种情况下根本没有密码。所有身份验证都是基于密钥对进行的。一把钥匙位于您的客户端计算机上,另一把钥匙位于服务器上。所有流量也都经过加密。
There is no password at all in this case. All authentication happens based on key pair. One key is on your client machine, another one lies on the server. All traffic is also encrypted.