ssh-push
v0.1.5
Published
simple ssh push
Downloads
2
Readme
ssh-push
A simple ssh push command
This CLI establish an easy-and-fast-to-call SSH connection and run a bash script on the remote server. This may be used to trigger some actions on servers, like deploy.
Installation
$ sudo npm install --global ssh-push
Add or update a connection
$ ssh-push set <id>
SSH host: <ip>
SSH user: <user>
SSH password: <pass>
SSH path: <path-to-script>
Example:
$ ssh-push set myfastpush
SSH host: 123.456.789.000
SSH user: myuser
SSH password: **********
SSH path: /var/deploy/mywebsite
Remove a connection
$ ssh-push remove <id>
Push
$ ssh-push push <id>