SSH Support

Applies to: Jamroom 7.0+ Last verified: 2026-10-24

Table of Contents:


What it does
For developers
  • What it does

    SSH Support (module jrNetCore) gives other modules functions to connect to servers over SSH and SFTP: to log in, run a command, or copy a file. It has no settings or screens of its own. Install it when another module needs it.

    ACP > Modules > Site > SSH Support

  • For developers

    Function What it does
    jrNetCore_ssh_login() Logs in to a server over SSH
    jrNetCore_ssh_command() Runs a command on a server and returns its output
    jrNetCore_sftp_login() Logs in to a server over SFTP
    jrNetCore_sftp_file() Copies a file to a server over SFTP

    They take the username, password, IP address and port of the server. The module uses the phpseclib library.

Tags