node-lxd-sftp
v1.0.3
Published
Module for connecting with LXD's instance SFTP connection.
Downloads
1
Readme
Node LXD SFTP
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);
});