Skip to content

Commit 98d1c96

Browse files
committed
Initial revision - testing file
1 parent c27b5c1 commit 98d1c96

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

try.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
var ssh2sync = require('./index.js');
3+
4+
5+
var root_local = process.env["HOME"] + "/boilerplate/reikijobsboard.com/out";
6+
var root_remote = "/home/reikiman/test-reikijobsboard.com";
7+
var force = true;
8+
9+
ssh2sync.upload(root_local, root_remote, force, {
10+
11+
// debug: console.log,
12+
host: 'rules4humans.com',
13+
//host: 'mainmini.local',
14+
port: 22,
15+
username: 'reikiman',
16+
//username: 'david',
17+
privateKey: require('fs').readFileSync('/Users/davidherron/.ssh/id_dsa')
18+
/*
19+
host: '192.168.100.100',
20+
port: 22,
21+
username: 'frylock',
22+
password: 'nodejsrules'
23+
*/
24+
});

0 commit comments

Comments
 (0)