+-From: "Perry Edward (tsp2emp)" <tsp2emp@...> --
|_Date: Wed, 30 Jun 2004 09:32:23 -0400 _____________
|I am new in using the ssh protocol, So could someone refer me to
|some documentation on how to eliminate the message "Authenticity
|can not be established"
There is two ways.
The first is to set your 'known_hosts' file,
JSch jsch=new JSch();
jsch.setKnownHosts("path for your known_hosts");
If you don't have it, it is enought to give an emypty file.
Once you will accepting remote host's public key, you will not get
The second is to add some config,
java.util.Hashtable config=new java.util.Hashtable();
You will not get any warning, but I will not recomend this way.