hudson.plugins.gerrit.ssh
Class SSHMarker

java.lang.Object
  extended by hudson.plugins.gerrit.ssh.SSHMarker

public class SSHMarker
extends java.lang.Object

Author:
Jyrki

Constructor Summary
SSHMarker()
           
 
Method Summary
 void authenticate(java.lang.String username, java.io.File private_key_file, java.lang.String passPhrase)
           
static boolean CheckPassPhrase(java.io.File f, java.lang.String p)
           
 void connect(java.lang.String host, int port)
           
 void disconnect()
           
 void executeCommand(java.lang.String command)
           
static boolean IsPrivateKeyFileValid(java.io.File f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSHMarker

public SSHMarker()
Method Detail

connect

public void connect(java.lang.String host,
                    int port)
             throws java.io.IOException
Throws:
java.io.IOException

authenticate

public void authenticate(java.lang.String username,
                         java.io.File private_key_file,
                         java.lang.String passPhrase)
                  throws java.io.IOException
Throws:
java.io.IOException

IsPrivateKeyFileValid

public static boolean IsPrivateKeyFileValid(java.io.File f)

CheckPassPhrase

public static boolean CheckPassPhrase(java.io.File f,
                                      java.lang.String p)

executeCommand

public void executeCommand(java.lang.String command)
                    throws java.io.IOException,
                           java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

disconnect

public void disconnect()


Copyright © 2010. All Rights Reserved.