SSH library ​
No description available
Classes ​
Functions ​
mnscript
StringResult SSH.AddSecret(string, string) - Adds or updates a secret on the remote server
mnscript
StringResult SSH.Connect(string) - Attempts to establish an SSH connection to the remote server.
mnscript
StringResult SSH.CreateFolder(string, string) - Creates a folder in the remote server.
mnscript
StringResult SSH.DeleteFile(string, string) - Deletes a file from the remote server.
mnscript
StringResult SSH.DeleteFolder(string) - Deletes a folder from the remote server.
mnscript
StringResult SSH.Disconnect() - Attempts to disconnect an SSH connection.
mnscript
StringResult SSH.Download(string, string, string) - Downloads a file from the remote server.
mnscript
RemoteServer SSH.GetConnectedServer() - Gets a RemoteServer representing the connected server.
mnscript
string[] SSH.GetConnectedTerminals() - Gets all terminals connected to the current SSH server.
mnscript
string SSH.GetConnectionIP() - Gets the IP connected to via SSH.
mnscript
Process[] SSH.GetRunningProcesses() - 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.
mnscript
bool SSH.IsProcessRunning(string) - Gets whether a process with the given Id is running on the remote server.
mnscript
number SSH.ProcessRuntime(string) - Gets the runtime of a process with the given Id.
mnscript
StringResult SSH.RemoveSecret(string) - Removes a secret from the remote server
mnscript
StringResult SSH.StartProcess(string, string) - 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.
mnscript
StringResult SSH.Upload(string, string, string) - Uploads a file to the remote server.
