Skip to content
Snippets Groups Projects
Commit fbe8d9ce authored by tjc's avatar tjc
Browse files

tidy

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@3588 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 59719f96
Branches
Tags
No related merge requests found
......@@ -73,10 +73,6 @@ public class SshFileManager
private Vector dir_list;
private Vector file_list;
// defaults
private String logfile = null;
private String wdir = "/nfs/pathscratch1/scratch";
private SshClient ssh;
public SshFileManager()
......
......@@ -162,9 +162,9 @@ public class SshLogin
port = Integer.parseInt(portfield.getText().trim());
if(port < 0)
ssh.connect(hostname); //, new IgnoreHostKeyVerification());
ssh.connect(hostname, new IgnoreHostKeyVerification());
else
ssh.connect(hostname,port); //, new IgnoreHostKeyVerification());
ssh.connect(hostname,port, new IgnoreHostKeyVerification());
// Try the authentication
result = ssh.authenticate(pwd);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment