Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Client/SSHConnection

Index

Functions

Const createSSHConnection

  • createSSHConnection(host: string, port: number): Promise<Connection>
  • Create a new connection to a daemon using SSH. Uses SSH exec and sftp streams to trigger jobs.

    remarks

    Currently, host identification is a no-op, so no security is guaranteed.

    Parameters

    • host: string

      Hostname or IP address of the daemon.

    • port: number

      Port number of the daemon on the host.

    Returns Promise<Connection>

    Connection to an SSH daemon.

Generated using TypeDoc