MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / connectUsingKeyFile

Method connectUsingKeyFile

src/plugins/sftp/index.d.ts:49–49  ·  view source on GitHub ↗

* Connects to SFTP server * @param host Hostname of the server * @param port port numer * @param username Username * @param keyFile Password or private key file to authenticate the server * @param passphrase Passphrase for keyfile * @param onSuccess Callback function on succ

(host: String, port: Number, username: String, keyFile: String, passphrase: String, onSuccess: () => void, onFail: (err: any) => void)

Source from the content-addressed store, hash-verified

47 * @param onFail Callback function on error returns error object
48 */
49 connectUsingKeyFile(host: String, port: Number, username: String, keyFile: String, passphrase: String, onSuccess: () => void, onFail: (err: any) => void): void;
50
51 /**
52 * Gets file from the server.

Callers 1

connectMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected