×

Run Script Over SSH

iOS 14 +

Notes

Runs the given script over an SSH connection.

Syntax

runSSH(host: <#String (Allows Variables)#>, port: <#String (Allows Variables)#>, user: <#String (Allows Variables)#>, auth: <#Enumeration (WFSSHAuthenticationType)#>, password: <#String (Allows Variables)#>, input: <#Variable#>, script: <#String (Allows Variables)#>)

Example

runSSH(host: "pi_address", port: "22", user: "raspberry", auth: password, password: "••••••••", input: ShortcutInput, script: "Clipboard")