如何使用 extssh 登录 CVS
我正在尝试设置 Hudson 以从 CVS 存储库中提取数据,并且需要一个 .cvspass 文件来执行此操作,并且要生成 .cvspass,我需要首先手动登录到 CVS (据我所知)。
有问题的 CVS 服务器似乎只支持 extssh,我不知道如何登录它。我尝试了这样的事情:
robert@robert-laptop:~/temp$ cvs -d :extssh:USERNAME:[email protected]:/path/to/project login
cvs login: CVSROOT password specification is only valid for
cvs login: pserver connection method.
cvs [login aborted]: Bad CVSROOT: `:extssh:USERNAME:[email protected]:/path/to/project'.
我尝试了有密码和没有密码的情况,以及我能想到的所有其他排列,但没有任何帮助。有人知道正确的方法吗?
更新:
我成功登录并结帐:
robert@robert-laptop:~/temp$ cvs -d :extssh:[email protected]:/path/to/repo co PROJECT_NAME
但未生成 .cvspass,这就是重点。 :(
I'm trying to setup Hudson to pull from a CVS repo, and need a .cvspass file to do that, and to generate .cvspass, I need to first login manually to CVS (AFAIK).
CVS server in question only seems to support extssh, and I can't figure out how to login into it. I tried something like this:
robert@robert-laptop:~/temp$ cvs -d :extssh:USERNAME:[email protected]:/path/to/project login
cvs login: CVSROOT password specification is only valid for
cvs login: pserver connection method.
cvs [login aborted]: Bad CVSROOT: `:extssh:USERNAME:[email protected]:/path/to/project'.
I tried with and without password, and all other permutations I could think of, but nothing helped. Does someone know a proper way to do it?
UPDATE:
I managed to login and checkout with:
robert@robert-laptop:~/temp$ cvs -d :extssh:[email protected]:/path/to/repo co PROJECT_NAME
but .cvspass was not generated, which was the whole point. :(
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
错误显示“
既然你不使用 pserver,我会尝试”,
这可能是你实际上无法使用 CVS 来存储密码。尝试设置无密码 ssh 连接。请参阅http://ant.1045680。 n5.nabble.com/Authenticating-cvs-extssh-wo-getting-prompted-td1356537.html
The error says
Since you do not use a pserver I would try
It might be that you can't actually use CVS to store the password. Try to set up a password-less ssh connection. see http://ant.1045680.n5.nabble.com/Authenticating-cvs-extssh-w-o-getting-prompted-td1356537.html
来自 https://netpenthe .wordpress.com/2007/01/25/extssh-is-an-eclipse-only-cvs-connection-method/
换句话说...如果您想使用 cvs 命令行客户端,请使用 ext 连接方法而不是 extssh 在 eclipse 中签出项目。
From https://netpenthe.wordpress.com/2007/01/25/extssh-is-an-eclipse-only-cvs-connection-method/
In other words... checkout the project in eclipse using the ext connection method and not extssh if you want to use the cvs command line client.