Hello ,
I am trying to create the known host file for SFTP connector to send the file out .
We are using APP 10 UPD 18 and when I try to execute the below code in Command Prompt :(replacing the host names and credentials)
java -cp <IFS_HOME>\repository\server\javaruntime\ifs-fnd-connect.jar;<IFS_HOME>\repository\server\dist\lib\jsch-0.1.55.jar ifs.fnd.connect.ftp.SftpClient -CreateKnownHosts=KNOWNHOSTS -hostname=SFTPHOST -username=USERNAME -password=PASSWORD
Also tried with jsch-0.1.53 , I get the error saying :
com.jcraft.jsch.JSchException: Algorithm negotiation fail
at com.jcraft.jsch.Session.receive_kexinit(Session.java:590)
at com.jcraft.jsch.Session.connect(Session.java:320)
at com.jcraft.jsch.Session.connect(Session.java:183)
at ifs.fnd.connect.ftp.SftpClient.createKnownHostsFile(SftpClient.java:448)
at ifs.fnd.connect.ftp.SftpClient.main(SftpClient.java:422)
Any suggestion would be helpful.
Thanks in advance.
Regards
Thej