Re: SSH
Thomas Singer <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Message-ID | <[email protected]> |
Especially the integrating in our connection framework seems to be very
easy, because they have a similar structure:
public interface IServerConnection {
/**
* Open a connection to the CVS server.
*
* Throw CVSAuthenticationException if the username or password is
invalid.
* Throw IOExceptions for other failures.
*/
public void open(IProgressMonitor monitor) throws IOException,
CVSAuthenticationException;
/**
* Close the connection
*
* Throw IOException on failures
*/
public void close() throws IOException;
/**
* Get the input stream to receive responses from the server
*/
public InputStream getInputStream();
/**
* Get the output stream to send requests to the server
*/
public OutputStream getOutputStream();
}
This seems very well-known to us.
As I read from the comments, they support SSH 1.5, but I'm not very
experienced with SSH at all (I can't setup a SSH protected CVS server).
Tom
At 10:53 30.04.02 +0100, you wrote:
> > Thomas Singer wrote:
> > > Taking a look at http://www.eclipse.org/legal/cpl-v05.html ("... a
> > > non-exclusive, worldwide, royalty-free copyright license to reproduce,
> > > prepare derivative works of, publicly display, publicly perform, ..."),
> > > I could imagine, that Eclipse' SSH code could be used within JavaCVS. Am
> > > I right?
>
>Don't know - you'd have to get it checked by some legal person I suppose
>to be 100% sure.
>
>However, the SSH code in Eclipse (at least the last time I looked) it not
>great. It only supports SSH 1, doesn't support key based authentication
>and is based on the publicly available SSH code from Mindterm (SSH 1.0
>code) [or maybe the Gourio code?] so doesn't easily integrate into our
>connection framework (the latter point being most important).
>
>If this has changed, let me know though.
>
>RG