@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
33 lines (32 loc) • 962 B
TypeScript
import WFSerialization from '../interfaces/WF/WFSerialization';
import WFWorkflowAction from '../interfaces/WF/WFWorkflowAction';
/**
* @action Run Script Over SSH
* @section Actions > Scripting > Run Script Over SSH
* @icon Scripting
*
* Runs a script on a remote computer over SSH.
*
* ```js
* runScriptOverSSH({
* host: '192.168.1.100',
* password: 'hunter2',
* port: '5000',
* script: 'ls',
* user: 'tcook',
* });
* ```
*/
declare const runScriptOverSSH: ({ host, password, port, script, user, }: {
/** The host to run the script on */
host: string | WFSerialization;
/** The password for the specified user */
password: string | WFSerialization;
/** The port of the host */
port: string | WFSerialization;
/** The script to run */
script: string | WFSerialization;
/** The user to run the script as */
user: string | WFSerialization;
}) => WFWorkflowAction;
export default runScriptOverSSH;