search for: sethostauthenticationhandl

Displaying 1 result from an estimated 1 matches for "sethostauthenticationhandl".

2002 Nov 14
0
[Bug 436] New: SSH client API
...org ReportedBy: jensus at linux.nu I would be usefull to have an API for the SSH client, so it could be used from other programs. Java-stype pseudo code: // create connections and forward ports SSHClient ssh = new SSHClient(); ssh.setUserAuthenticationHandler(new PasswordDialog()); ssh.setHostAuthenticationHandler(this); SSHSocket con = ssh.connect("127.0.0.1"); con.getOutputStream().write("hello".getBytes()); ssh.localForward(80, "www.google.com", 80); ssh.remoteForward(80, "www.google.com", 80); // access configuration SSHConfiguration sshConfig = ssh.getConfigura...