Skip to content
logo
ecu.test 2025.3 Help
Port NULL 🛈
  • English
  • Deutsch
Initializing search
    • Getting Started
    • Overview
    • ecu.test Main program
    • Further included programs
    • Tools
      • A&D: iTest
      • ASAM: ACI
      • ASAM: iLinkRT
      • ASAM: XIL
      • ASAP: STEP
      • ATI: VISION
      • AVL: LYNX
      • AVL: PUMA
      • Basler: pylon
      • Beckhoff: TwinCAT
      • Digiteq: FG4 MultiBox
      • Digiteq: MGB
      • dSPACE: AURELION
      • dSPACE: ControlDesk
      • dSPACE: ModelDesk
      • dSPACE: MotionDesk
      • dSPACE: RTMaps
      • dSPACE: XIL API
      • EA: UTA 12
      • EMVA: GenICam
      • ESI: SimulationX
      • ETAS: BOA
      • ETAS: COSYM-SIL
      • ETAS: INCA
      • ETAS: LABCAR-PINCONTROL
      • FEP
      • FEP3
      • FEV: Morphée
      • froglogic: Squish
      • Google: ADB
      • Göpel: Video Dragon
      • Hexagon: VTD
      • HMS: ACT - Restbussimulation
      • HMS: Legacy Bus Interfaces (VCI V2)
      • HMS: VCI V4
      • HORIBA FuelCon: TestWork
      • IDS: uEye
      • IPETRONIK: ETHOS
      • IPG: CarMakerHeadless
      • IPG: CarMaker|RealTimeMaker
      • JS Foundation: Appium
      • Keysight: CDS
      • Keysight: ESD
      • KS Engineers: TornadoACI
      • Lauterbach: TRACE32
      • MAGNA: BluePiraT
      • Mathworks: MATLAB & Simulink
      • Mechanical Simulation Corporation: CarSim
      • MicroNova: NovaCarts
      • Modelica Association: FMI
      • MOTEON: MTB
      • NI: LabVIEW
      • NI: VeriStand
      • NI: VISA
      • Opal-RT: RT-LAB
      • PEAK: PCAN
      • PLS: UDE
      • QUANCOM: QLIB
      • RA Consulting: DiagRA D
      • ROS2
      • SAE: PassThru
      • SFC: Selenium
      • Softing: DTS
      • Speedgoat: SimulinkRealTimeXIL
      • Synopsys: Silver
      • Synopsys: SilverXIL
      • Synopsys: Virtualizer
      • Technica: BTS
      • Technica: CM
      • The GNU Project: GDB
      • TOSUN: libTSCAN API
      • tracetronic: Ethernet
      • tracetronic: Multimedia
      • tracetronic: RemoteCommand
      • tracetronic: RemoteCommandLinux
      • tracetronic: Serial interface
      • tracetronic: SocketCAN
      • tracetronic: SSH MultiConnect
        • Ports
          • Port NULL 🛈
            • Stimulation
            • Properties 🛈
            • Jobs 🛈
              • Connect
              • Disconnect
              • DownloadFileOrFolder
              • ExecuteInteractively
              • ExecuteSshCommand
              • IsConnected
              • UploadFileOrFolder
      • tracetronic: ZeroMQ
      • TTTech: TTXConnexion
      • Typhoon HIL: THCC
      • Vector: CANape
      • Vector: CANoe / CANalyzer
      • Vector: DYNA4
      • Vector: SIL Kit
      • Vector: XL API
      • Vehinfo: LABCAR
      • ViGEM: CCA
      • VW: ODIS
      • X2E: Xoraya
      • Tools with stimulus support
    • Test execution
    • Trace analysis
    • Workspace
    • Handling
    • Test management
    • test.guide
    • Extensions
    • Specific Tutorials
    • API references
    • System requirements
    • ecu.test on Linux
    • ecu.test code
    • ecu.test agent
    • ecu.test lab
    • Stimulation
    • Properties 🛈
    • Jobs 🛈
      • Connect
      • Disconnect
      • DownloadFileOrFolder
      • ExecuteInteractively
      • ExecuteSshCommand
      • IsConnected
      • UploadFileOrFolder

    Port NULL 🛈¶

    Stimulation¶

    This port has no stimulus capabilities.

    Properties 🛈¶

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    SSH host

    uri

    Host address

    SSH port

    22

    int

    Host port

    SSH username

    string

    Username for the authentication.

    Authentication method

    Keyfile

    [None, Password, Keyfile]


    Display values:

    • None: Without authentication

    • Password: Password

    • Keyfile: Private key file

    string

    Method used to log into the remote system.

    SSH key path

    Authentication method: ‘Keyfile’

    string

    Path to the SSH private key for public key authentication. Can be specified absolute or relative to the tool host base path. If no tool host base path is set, the path can be relative to the workspace. Supported key formats: RSA, DSA, ECDSA and ED25519

    SSH password

    Authentication method: ‘Password’

    string

    Password of the specified user.

    Attention: The password is stored unencrypted in the TBC!

    Connection mode

    Auto

    [Auto, Manual]


    Display values:

    • Auto: Connect automatically

    • Manual: Connect manually via port job call

    string

    Defines whether the SSH connection is established automatically or manually via port job.

    File transfer protocol

    SFTP

    [SFTP, SCP]

    string

    Sets the protocol used to transfer files. If possible, SFTP should be preferred because it is the more stable and secure protocol.

    Jobs 🛈¶

    Connect¶

    Establishes the SSH connection. If the connection is already established, no action is performed.

    Disconnect¶

    Terminates the SSH connection. If the connection is already disconnected, no action is performed.

    DownloadFileOrFolder¶

    Copies a file or folder from the remote PC to the local machine.

    Existing files will be overwritten.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    localPath

    string

    Local path to which the remote files are copied. Will be created if necessary.

    remotePath

    string

    File or folder on the remote PC being copied.

    ExecuteInteractively¶

    Note: Only supported for SSH hosts with a Linux distribution.

    Runs the specified expression in an interactive session, waits for the output generated from it, and returns it. Unlike the ExecuteSshCommand job, all calls of this job act in the same shell; the context (e.g. set environment variables, current working directory) is preserved over all calls. The shell is closed at test case end.

    This job is blocking and returns under these conditions:

    1. The command was executed completely (successful or with error).

    2. A configurable string is found in the SSH output (e.g. “password” for command “sudo pwd”).

    3. The entire call takes longer than an adjustable timeout. In this case an error will be raised.

    In the first two cases, the previously generated output lines of the SSH shell are returned.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    command

    string

    Command to be executed on the remote PC.

    returnAtText

    string

    Abort condition for case 2). If not empty, the SSH output will be searched for this string and if present, the job call will be terminated.

    timeout

    30

    int

    Abort condition for case 3). Causes an error if the call is not finished after the specified time in seconds.

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    object

    List of all rows of SSH shell output that result from the given input.

    ExecuteSshCommand¶

    Executes a command via SSH on the remote PC.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    command

    string

    Command to be executed on the remote PC. The command is executed in a separate session, which is closed again after the call. Multiple calls of the job are therefore independent of each other.

    The command is executed in an environment that is neither interactive nor a login shell. Therefore no shell environment variables are loaded.

    nonBlocking

    False

    [False, True]

    bool

    If True, the job call returns immediately and returns only empty lists for stdout and stderr.

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    object

    Tuple, containing the two standard data streams stdout and stderr. For each stream, the tuple contains a list of all corresponding lines.

    IsConnected¶

    Returns if the SSH connection is established.

    Parameterization

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    [False, True]

    bool

    UploadFileOrFolder¶

    Copies a file or folder from the local machine to the remote PC.

    Existing files will be overwritten.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    localPath

    string

    File or folder on the local PC being copied.

    remotePath

    string

    Remote path to which the local files are copied. Will be created if necessary.

    2025-12-05
    Previous
    tracetronic: SSH MultiConnect
    Next
    tracetronic: ZeroMQ
    © Copyright 2025, tracetronic GmbH.
    Created using Sphinx 8.2.3. and Sphinx-Immaterial
    Logo of tracetronic GmbH
    legal notice privacy policy