I am trying to SSH to a trusted server, without using a password but I am getting this error:
null
[Ljava.lang.Stac kTraceElement;@ 3b1d04
This is the code that I am using:
The known_hosts file is located at
$HOME/.ssh/known_hosts which is the default for the ConsoleKnownHos tsKeyVerificati on() method.
Can someone please tell me what I am doing wrong.
Thanks
null
[Ljava.lang.Stac kTraceElement;@ 3b1d04
This is the code that I am using:
Code:
SshClient ssh = new SshClient(); ssh.connect("prdgc103b", new ConsoleKnownHostsKeyVerification());
$HOME/.ssh/known_hosts which is the default for the ConsoleKnownHos tsKeyVerificati on() method.
Can someone please tell me what I am doing wrong.
Thanks
Comment