Displaying 1 result from an estimated 1 matches for "setuserauthenticationhandler".
2002 Nov 14
0
[Bug 436] New: SSH client API
...nt: ssh
AssignedTo: openssh-unix-dev at mindrot.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 confi...