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

Function guestScpFrom

e2e/src/vm/desktop.ts:51–59  ·  view source on GitHub ↗
(ip: string, remote: string, local: string)

Source from the content-addressed store, hash-verified

49 });
50
51export const guestScpFrom = (ip: string, remote: string, local: string): Promise<unknown> =>
52 execFileP(SSHPASS, [
53 "-p",
54 GUEST_PASS,
55 "scp",
56 ...SSH_OPTS,
57 `${GUEST_USER}@${ip}:${remote}`,
58 local,
59 ]);
60
61/**
62 * Push a directory into the guest by streaming a tar over ssh: one connection,

Callers 1

recordGuestScreenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected