Skip to main content



      Home
Home » Newcomers » Newcomers » can CVS work with SSH keys?
can CVS work with SSH keys? [message #259462] Fri, 27 June 2008 17:08 Go to next message
Eclipse UserFriend
I have WinCVS setup on my computer with SSH. I have SSH keys configured
and the CVS server will only allow me to connect with using that key. I
can not connect to the server with a password.

So I was just wondering if the CVS support in Eclipse can be made to
work with the SSH key instead of a password.

Thanks,
Paul
Re: can CVS work with SSH keys? [message #259465 is a reply to message #259462] Fri, 27 June 2008 18:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: codeslave.ca.ibm.com

Yes. In Eclipse, use Window > Preferences > General > Network
Connections > SSH2.

If you need to generate a new key, use the Key Management tab.

Paul Levin wrote:
> I have WinCVS setup on my computer with SSH. I have SSH keys configured
> and the CVS server will only allow me to connect with using that key. I
> can not connect to the server with a password.
>
> So I was just wondering if the CVS support in Eclipse can be made to
> work with the SSH key instead of a password.
>
> Thanks,
> Paul

--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb
Re: can CVS work with SSH keys? [message #259469 is a reply to message #259465] Fri, 27 June 2008 20:22 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Nick.

I was able to connect to the server.

Now I'm wondering if its too late for me to use this feature.
I already have the modules checked-out to my computer (done with
WinCVS). In fact several files are editable (done with WinCVS) and have
been modified.

I would like to start using Eclipse to make files editable and commit
them. From what I see in Eclipse, in the Team Synchronize perspective,
it looks like I must checkout the modules again.

That would mean I would have to commit what I have out, delete the files
on my computer and use Eclipse to re-checkout the modules. This would
also mess with the Eclipse project, while the files and directories are
deleted.

Is this correct, or is there a way to make Eclipse use the existing CVS
sandbox that is on my computer now?

Thanks,
Paul


Nick Boldt wrote:
> Yes. In Eclipse, use Window > Preferences > General > Network
> Connections > SSH2.
>
> If you need to generate a new key, use the Key Management tab.
>
> Paul Levin wrote:
>> I have WinCVS setup on my computer with SSH. I have SSH keys
>> configured and the CVS server will only allow me to connect with using
>> that key. I can not connect to the server with a password.
>>
>> So I was just wondering if the CVS support in Eclipse can be made to
>> work with the SSH key instead of a password.
>>
>> Thanks,
>> Paul
>
Re: can CVS work with SSH keys? [message #259478 is a reply to message #259469] Fri, 27 June 2008 21:14 Go to previous message
Eclipse UserFriend
Originally posted by: codeslave.ca.ibm.com

Use Import > Existing projects to pull in your already-checked out code
into Eclipse as workspace projects.

Or create a new project in the workspace, and copy the entire checked
out tree into it.

Either way, you'll probably have to do Team > Share to let Eclipse know
to actually look at the CVS folders in your file tree, and reconcile
that with what's on the server.

If that doesn't work... just check out everything again from CVS through
Eclipse, then copy over your changed files into the workspace project,
and commit them thru Eclipse. The only time "with Eclipse" and "outside
Eclipse" CVS checkouts are not entirely compatible is when the CVS/Root
files aren't identical (eg., one has :ext: and the other :extssh: as the
protocol).

Once Eclipse is happy, you can edit files in and out of Eclipse, and
commit changes w/ Eclipse or with an external CVS program. However, you
will probably need to refresh changes done outside Eclipse -- I just
select the file or folder to refresh and hit F5.

N

Paul Levin wrote:
> Thanks Nick.
>
> I was able to connect to the server.
>
> Now I'm wondering if its too late for me to use this feature.
> I already have the modules checked-out to my computer (done with
> WinCVS). In fact several files are editable (done with WinCVS) and have
> been modified.
>
> I would like to start using Eclipse to make files editable and commit
> them. From what I see in Eclipse, in the Team Synchronize perspective,
> it looks like I must checkout the modules again.
>
> That would mean I would have to commit what I have out, delete the files
> on my computer and use Eclipse to re-checkout the modules. This would
> also mess with the Eclipse project, while the files and directories are
> deleted.
>
> Is this correct, or is there a way to make Eclipse use the existing CVS
> sandbox that is on my computer now?
>
> Thanks,
> Paul
>
>
> Nick Boldt wrote:
>> Yes. In Eclipse, use Window > Preferences > General > Network
>> Connections > SSH2.
>>
>> If you need to generate a new key, use the Key Management tab.
>>
>> Paul Levin wrote:
>>> I have WinCVS setup on my computer with SSH. I have SSH keys
>>> configured and the CVS server will only allow me to connect with
>>> using that key. I can not connect to the server with a password.
>>>
>>> So I was just wondering if the CVS support in Eclipse can be made to
>>> work with the SSH key instead of a password.
>>>
>>> Thanks,
>>> Paul
Previous Topic:how do I run an Ant target from Eclipse??
Next Topic:How do I update the Eclipse plug-in for RVDS 3.1?
Goto Forum:
  


Current Time: Fri May 09 23:13:35 EDT 2025

Powered by FUDForum. Page generated in 0.09571 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top