Skip to content

SSH library ​

No description available

Classes ​

Functions ​

  • Adds or updates a secret on the remote server
  • Attempts to establish an SSH connection to the remote server.
  • Creates a folder in the remote server.
  • Deletes a file from the remote server.
  • Deletes a folder from the remote server.
mnscript
StringResult SSH.Disconnect() 
  • Attempts to disconnect an SSH connection.
  • Downloads a file from the remote server.
  • Gets a RemoteServer representing the connected server.
  • Gets all terminals connected to the current SSH server.
mnscript
string SSH.GetConnectionIP() 
  • Gets the IP connected to via SSH.
  • Gets a list of all running MNScript processes on the remote server.
mnscript
string[] SSH.GetSecrets() 
  • Gets an array of all secret names on stored on the SSH server.
mnscript
bool SSH.IsConnected() 
  • Gets whether an active SSH connection is established.
  • Gets whether a process with the given Id is running on the remote server.
  • Gets the runtime of a process with the given Id.
  • Removes a secret from the remote server
  • Executes an MNScript .mscx file on the remote server.
mnscript
number SSH.StopAllProcesses() 
  • Closes all active MNScript processes on the remote server.
mnscript
bool SSH.StopProcess(string) 
  • Stops an MNScript process with the given name on the remote server.
  • Uploads a file to the remote server.