org.globus.cog.abstraction.impl.execution.ssh
Class Ssh
java.lang.Object
org.globus.cog.abstraction.impl.execution.ssh.Ssh
- Direct Known Subclasses:
- Exec, Sftp
public class Ssh
- extends Object
Constructor Summary |
Ssh()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
host
protected String host
port
protected int port
username
protected String username
password
protected String password
keyfile
protected String keyfile
passphrase
protected String passphrase
cipher
protected String cipher
mac
protected String mac
fingerprint
protected String fingerprint
logfile
protected String logfile
verifyhost
protected boolean verifyhost
always
protected boolean always
ssh
protected com.sshtools.j2ssh.SshClient ssh
sshtoolsHome
protected String sshtoolsHome
output
protected boolean output
error
protected boolean error
Ssh
public Ssh()
execute
public void execute()
throws IllegalSpecException,
InvalidSecurityContextException,
InvalidServiceContactException,
TaskSubmissionException,
JobException
- Throws:
IllegalSpecException
InvalidSecurityContextException
InvalidServiceContactException
TaskSubmissionException
JobException
setUsername
public void setUsername(String username)
setPassword
public void setPassword(String password)
setPort
public void setPort(int port)
setHost
public void setHost(String host)
setKeyfile
public void setKeyfile(String keyfile)
setPassphrase
public void setPassphrase(String passphrase)
setCipher
public void setCipher(String cipher)
setMac
public void setMac(String mac)
setLogfile
public void setLogfile(String logfile)
setVerifyhost
public void setVerifyhost(boolean verifyhost)
setAlways
public void setAlways(boolean always)
setSshtoolshome
public void setSshtoolshome(String sshtoolsHome)
getError
public boolean getError()
getOutput
public boolean getOutput()
setError
public void setError(boolean b)
setOutput
public void setOutput(boolean b)