如何使用 extssh 登录 CVS

发布于 2024-10-06 02:45:47 字数 1114 浏览 0 评论 0原文

我正在尝试设置 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

‘画卷フ 2024-10-13 02:45:47

错误显示“

cvs login: CVSROOT password specification is only valid for
cvs login: pserver connection method.

既然你不使用 pserver,我会尝试”,

cvs -d  :extssh:[email protected]:/path/to/project login

这可能是你实际上无法使用 CVS 来存储密码。尝试设置无密码 ssh 连接。请参阅http://ant.1045680。 n5.nabble.com/Authenticating-cvs-extssh-wo-getting-prompted-td1356537.html

The error says

cvs login: CVSROOT password specification is only valid for
cvs login: pserver connection method.

Since you do not use a pserver I would try

cvs -d  :extssh:[email protected]:/path/to/project login

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

小瓶盖 2024-10-13 02:45:47

来自 https://netpenthe .wordpress.com/2007/01/25/extssh-is-an-eclipse-only-cvs-connection-method/

extssh 连接方法是 Eclipse CVS 特有的,在
命令行 CVS 客户端。如果您使用 extssh 连接到 SSH2
存储库并希望使用命令行客户端来执行某些 CVS
操作时,您可以配置 ext 连接方法以使用 extssh
在 Eclipse 中。

换句话说...如果您想使用 cvs 命令行客户端,请使用 ext 连接方法而不是 extssh 在 eclipse 中签出项目。

From https://netpenthe.wordpress.com/2007/01/25/extssh-is-an-eclipse-only-cvs-connection-method/

The extssh connection method is unique to Eclipse CVS and doesn’t exist in the
command-line CVS client. If you are using extssh to connect to a SSH2
repository and would like to use the command line client for some CVS
operations you can configure the ext connection method to use extssh when
inside Eclipse.

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文