org.globus.cog.abstraction.impl.execution.ssh
Class Ssh

java.lang.Object
  extended by org.globus.cog.abstraction.impl.execution.ssh.Ssh
Direct Known Subclasses:
Exec, Sftp

public class Ssh
extends Object


Field Summary
protected  boolean always
           
protected  String cipher
           
protected  boolean error
           
protected  String fingerprint
           
protected  String host
           
protected  String keyfile
           
protected  String logfile
           
protected  String mac
           
protected  boolean output
           
protected  String passphrase
           
protected  String password
           
protected  int port
           
protected  com.sshtools.j2ssh.SshClient ssh
           
protected  String sshtoolsHome
           
protected  String username
           
protected  boolean verifyhost
           
 
Constructor Summary
Ssh()
           
 
Method Summary
 void execute()
           
 boolean getError()
           
 boolean getOutput()
           
 void setAlways(boolean always)
           
 void setCipher(String cipher)
           
 void setError(boolean b)
           
 void setHost(String host)
           
 void setKeyfile(String keyfile)
           
 void setLogfile(String logfile)
           
 void setMac(String mac)
           
 void setOutput(boolean b)
           
 void setPassphrase(String passphrase)
           
 void setPassword(String password)
           
 void setPort(int port)
           
 void setSshtoolshome(String sshtoolsHome)
           
 void setUsername(String username)
           
 void setVerifyhost(boolean verifyhost)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Ssh

public Ssh()
Method Detail

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)