File synchronisation using SSH2 module for Node.js