Commit 00a430e1 authored by Erik Schwartz's avatar Erik Schwartz 🉐
Browse files

Ripple changes from move to ssh2 module

parent 4a7923b5
......@@ -11,8 +11,10 @@ const options = './site-config/client.json';
// Main logic
// -------------------------------------------------------------------------
f.doIt(options, (err) => {
f.doIt(options, (err, msg) => {
if (err) {
console.error(err);
} else {
console.log(msg);
}
});
......@@ -7,7 +7,7 @@
"eslint-config-strongloop": "^2.1.0",
"mocha": "^5.2.0",
"rewire": "^4.0.1",
"scp2": "^0.5.0"
"ssh2": "^0.6.1"
},
"devDependencies": {},
"scripts": {
......
{
"remoteSettings": {
"host": "boo.umich.edu",
"host": "baz.umich.edu",
"port": "22",
"username": "someguy",
"password": "secret",
"path": "/srv/pickup/great-file.csv"
"password": "secret"
},
"localFile": "/usr/local/dropoff/great-file.csv"
"localFile": "/usr/local/dropoff/great-file.csv",
"remoteFile": "/srv/pickup/great-file.csv"
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment