Rolf Rander
Rolf Rander

Reputation: 3321

How can I set up Eclipse to use ssh-agent for cvs?

Several ways to ask this question:

This is what I have tried:

I am using eclipse 3.4.1 on ubuntu 08.10

Upvotes: 5

Views: 7591

Answers (2)

Janning Vygen
Janning Vygen

Reputation: 9192

Eclipse can use ssh-agent like this:

  1. Window / Preferences / Team / CVS /Ext Connection Method
  2. Select "Use an external program to connect"
  3. CVS_RSH: ssh
  4. Parameters: -l {user} {host}
  5. CVS_SERVER: cvs

Pay attention that your cvs urls have "ext:" in there .cvs directory

This way eclipse just uses ssh like you do on your shell. If ssh-agent works inb your shell it works with eclipse too.

Upvotes: 0

jamesh
jamesh

Reputation: 20091

I expect you have looked at SSH in the Windows --> Preferences.

I have used ssh with eclipse. IIRC, I needed to add a key into

  • Window --> Preferences --> General --> Network Connections --> SSH2.

You can also change the program you use for SSH (e.g. you don't trust the Java implementation of SSH) in

  • Window --> Preferences --> Team --> CVS --> Ext Connection Method.

Upvotes: 2

Related Questions