1.0.3 • Published 1 year ago

node-lxd-sftp v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Node LXD SFTP

npm npm version typescript

Optional dependency for node-lxd wich adds SFTP support for better filesystem performance.

Installing

$ npm install --save node-lxd-sftp

Getting Started

You can include this module in to your own project, but it is made for my other module node-lxd as an optional dependency because of its increased size due to precompiled binaries.

var sftp = require("node-lxd-sftp");
sftp({
 serverCert: fs.readFileSync("./server.crt"),
 clientCert: fs.readFileSync("./cert.crt"),
 clientKey: fs.readFileSync("./key.key"),
 host: "https://192.168.2.63:8443/",
 instanceName: "ubuntu2204"
}).then(auth => {
    // this includes the listening address + credentials
    console.log(auth);
});
1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago