search for: setforwardx11

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

2002 Nov 14
0
[Bug 436] New: SSH client API
...uot;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 SSHKeymanager.removeKey("key1"); Collection keys = SSHKeymanager.listKeys(); ------- You...