839 Views
Auto-sync files or directories over SSH using fs.watch(). Comes with a nifty tool sshpair that generates a public SSH key with echo -e "y\n" | ssh-keygen -q -N "" -f ~/.ssh/sshync and writes the result to ~/.ssh/authorized_keys on the remote host. This prevents the password prompt from showing up every time we sync. Ignore paths by adding them, one per line, to a file named .sshyncignore in the provided source folder.
0 comments