Class SSHData

java.lang.Object
org.pentaho.di.trans.step.BaseStepData
org.pentaho.di.trans.steps.ssh.SSHData
All Implemented Interfaces:
StepDataInterface

public class SSHData extends BaseStepData
Since:
03-Juin-2008
Author:
Samatar
  • Field Details

    • indexOfCommand

      public int indexOfCommand
    • wroteOneRow

      public boolean wroteOneRow
    • commands

      public String commands
    • nrInputFields

      public int nrInputFields
    • nrOutputFields

      public int nrOutputFields
    • stdOutField

      public String stdOutField
    • stdTypeField

      public String stdTypeField
    • outputRowMeta

      public org.pentaho.di.core.row.RowMetaInterface outputRowMeta
  • Constructor Details

    • SSHData

      public SSHData()
  • Method Details

    • getSshConnection

      public SshConnection getSshConnection()
      Gets the SSH connection.
      Returns:
      the SSH connection, or null if not set
    • setSshConnection

      public void setSshConnection(SshConnection sshConnection)
      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