search for: getconfiguration

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

Did you mean: get_configuration
2002 Nov 14
0
[Bug 436] New: SSH client API
...icationHandler(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.getConfiguration(); SSHHostConfiguration hc = sshConfig.getHostConfiguration("*.ssh.box"); hc.setForwardX11(true); sshConfig.write(); // manage keys SSHKey key = SSHKeymanager.createKey(SSHKey.DSA, "apan-ola at foo.bar"); key.write("key1"); // creates ~/.ssh/key1 and ~/.ssh/key1.pub S...