Package org.pentaho.di.trans.steps.ssh
Class SSHData
java.lang.Object
org.pentaho.di.trans.step.BaseStepData
org.pentaho.di.trans.steps.ssh.SSHData
- All Implemented Interfaces:
StepDataInterface
- Since:
- 03-Juin-2008
- Author:
- Samatar
-
Nested Class Summary
Nested classes/interfaces inherited from class org.pentaho.di.trans.step.BaseStepData
BaseStepData.StepExecutionStatus -
Field Summary
FieldsModifier and TypeFieldDescriptionintintintorg.pentaho.di.core.row.RowMetaInterfaceboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the SSH connection.booleanChecks if the SSH connection is established.static SshConnectionConnection method using our SSH abstraction layer.static SshConnectionopenSshConnection(SshConnectionParameters params, org.pentaho.di.core.logging.LogChannelInterface logChannel) Connection method using our SSH abstraction layer with logging support.voidsetConnected(boolean connected) Sets the connection state.voidsetSshConnection(SshConnection sshConnection) Sets the SSH connection.Methods inherited from class org.pentaho.di.trans.step.BaseStepData
getStatus, isDisposed, isEmpty, isFinished, isIdle, isInitialising, isRunning, isStopped, setStatus
-
Field Details
-
indexOfCommand
public int indexOfCommand -
wroteOneRow
public boolean wroteOneRow -
commands
-
nrInputFields
public int nrInputFields -
nrOutputFields
public int nrOutputFields -
stdOutField
-
stdTypeField
-
outputRowMeta
public org.pentaho.di.core.row.RowMetaInterface outputRowMeta
-
-
Constructor Details
-
SSHData
public SSHData()
-
-
Method Details
-
getSshConnection
Gets the SSH connection.- Returns:
- the SSH connection, or null if not set
-
setSshConnection
Sets the SSH connection.- Parameters:
sshConnection- the SSH connection to set
-
isConnected
public boolean isConnected()Checks if the SSH connection is established.- Returns:
- true if connected, false otherwise
-
setConnected
public void setConnected(boolean connected) Sets the connection state.- Parameters:
connected- true if connected, false otherwise
-
openSshConnection
public static SshConnection openSshConnection(SshConnectionParameters params) throws org.pentaho.di.core.exception.KettleException Connection method using our SSH abstraction layer. Provides modern SSH implementation with Ed25519 support and algorithm flexibility. Supports all the parameters from the original implementation including proxy settings. Uses secure in-memory key handling to avoid filesystem security risks.- Throws:
org.pentaho.di.core.exception.KettleException
-
openSshConnection
public static SshConnection openSshConnection(SshConnectionParameters params, org.pentaho.di.core.logging.LogChannelInterface logChannel) throws org.pentaho.di.core.exception.KettleException Connection method using our SSH abstraction layer with logging support. Provides modern SSH implementation with Ed25519 support and algorithm flexibility. Supports all the parameters from the original implementation including proxy settings. Uses secure in-memory key handling to avoid filesystem security risks.- Throws:
org.pentaho.di.core.exception.KettleException
-