can CVS work with SSH keys? [message #259462] |
Fri, 27 June 2008 17:08  |
Eclipse User |
|
|
|
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 #259469 is a reply to message #259465] |
Fri, 27 June 2008 20:22   |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.09571 seconds