hudson.plugins.gerrit.ssh
Class SSHMarker
java.lang.Object
hudson.plugins.gerrit.ssh.SSHMarker
public class SSHMarker
- extends java.lang.Object
- Author:
- Jyrki
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSHMarker
public SSHMarker()
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.