Nitrogenous Polymorphic Molecule
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    tower-ssh-cookbookpublic

    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

    Keywords

    none

    install

    npm i tower-ssh-cookbook

    Downloadsweekly downloads

    0

    version

    0.0.1

    license

    none

    last publish

    collaborators

    • avatar