nodemiral — Server Automation for NodeJS over SSH.
Присоединяем, подключаем сессию. Три метода:
execute - execute given shell command on the remote server
,
executeScript - execute a local shell script in the remote server
(можно использовать шаблонизатор),
copy - copy a file from local machine to the remote machine
.