Displaying 1 result from an estimated 1 matches for "configurationloader".
2013 May 08
2
[Bug 2099] New: SshClient.connect() failure on port 22
...sh-3.2$ ssh -V
Sun_SSH_1.1.4, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
Java Version:
1.6.0_30
Sample Program:
import com.sshtools.j2ssh.SftpClient;
import com.sshtools.j2ssh.SshClient;
import com.sshtools.j2ssh.authentication.PasswordAuthenticationClient;
import com.sshtools.j2ssh.configuration.ConfigurationLoader;
import java.io.PrintStream;
public class fileTransfer
{
public static boolean connectToServer(String serverIp, int
serverPort, String userId, String password)
{
SshClient sfc = null;
try {
System.out.println("inside Try of as its SFTP");
ConfigurationLoader.initi...