I have installed Tomcat6 and eclipse, and don't know how to add a Tomcat server to Eclipse:
File=>new=>Other=>CVS
"Add a new CVS repository in Eclipse"
Host: localhost
Path: /usr/share/tomcat6
User:anonymous
Connectionstype: pserver
+ Use default port
In Preferences SSH2 =>
SSH2 home : /etc/ssh
"Could not connect to pserver:anonymous@localhost:/usr/share/tomcat6: CVS communication error: org.eclipse.team.internal.ccsv.ssh2.CVSSSHServerConnection$SSH210Exception:Connection refused"