commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Vladimirov <vlser...@gmail.com>
Subject Re: SSH Implementation - IDEA and seeking Suggestions.
Date Sat, 11 Apr 2009 06:17:58 GMT
Vinod (hope it's first name),

1) As an end-user of SSH library i would prefer to have classes like
"SSHConnectionFactory" and "SSHConnection". Factory will be used to setup
different connection parameters, including (but not limited to) key exchange
rate, connection timeout, authentication scheme (user+password,
user+interactive, certificate, etc?). Something like this:

SSHConnectionFactory factory = new SSHConnectionFactory();
factory.setConnectionTimeout(...);
SSHConnection connection = factory.connect(host, port);
connection.auth(username, password); OR connection.auth(certificate);

ConsoleSession session = connection.openConsoleSession(80, 24, 800, 600, 0);
...

2) Still want to consider implementing SSH as part of distinguish library,
not as part of commons-net. Because of internal regulations i would not be
able to use any crypto-related libraries in some projects. We are using
commons-net already, and it will be pain to get rid of it if it will start
to contain SSH-related stuff.

Best regards,
Sergey

On Wed, Apr 8, 2009 at 2:39 PM, Vinod Kumar Badhavat <
vinod.ofgovind@gmail.com> wrote:

> SSHConnect




-- 
Sergey Vladimirov

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message