tower-ssh-cookbook

## Installation

npm install tower-ssh-cookbook
4 downloads in the last month

Tower SSH Cookbook

Installation

npm install tower-ssh-cookbook

Example

$ tower enter ssh -k my.pem -e "sudo apt-get update" -h ec2-123-123-123-123.compute-1.amazonaws.com -u ubuntu

http://davidtsadler.com/archives/2012/05/06/installing-node-js-on-ubuntu/

Install node.js on EC2 instance (Ubuntu Quantal 12.10).

$ sudo apt-get -y install python-software-properties python g++ make
$ sudo apt-get -y install software-properties-common
$ sudo add-apt-repository ppa:chris-lea/node.js
$ sudo apt-get update
$ sudo apt-get -y install nodejs
$ node -v

The -y says "yes to everything" for apt-get. You can do -q to quiet output.

sudo apt-get install python-software-properties python g++ make ; sudo apt-get install software-properties-common ; sudo add-apt-repository ppa:chris-lea/node.js ; sudo apt-get update ; sudo apt-get install nodejs ; node -v

Todo:

tower ssh name:* "sudo aptitude upgrade -y"

Notes

Licence

MIT

npm loves you