MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / ssh

Method ssh

e2e/src/vm/types.ts:34–34  ·  view source on GitHub ↗

Run a command in the guest over SSH (shell on Unix, PowerShell on Windows).

(command: string)

Source from the content-addressed store, hash-verified

32 readonly sshKeyPath?: string;
33 /** Run a command in the guest over SSH (shell on Unix, PowerShell on Windows). */
34 ssh(command: string): Promise<SshResult>;
35 /** Copy a local file or directory into the guest (recursive for directories). */
36 push(localPath: string, remotePath: string): Promise<void>;
37 /** Reboot the guest OS; resolves only once SSH is reachable again. */

Callers 6

provisionMacFunction · 0.80
setupCliTargetFunction · 0.80
waitGuestHttpFunction · 0.80
waitGuestPageTargetFunction · 0.80
provisionLinuxFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected