logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cloud-sandbox - launch a cloud instance and ssh directly into it, as a 'sandbox' system

Author

       This manpage and the utility was written by Dustin Kirkland <kirkland@ubuntu.com> for Ubuntu systems (but
       may be used by others).  Permission is granted to copy, distribute and/or modify this document under  the
       terms of the GNU General Public License, Version 3 published by the Free Software Foundation.

       On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-
       licenses/GPL, or on the web at http://www.gnu.org/licenses/gpl.txt.

bikeshed                                           10 Oct 2011                                  cloud-sandbox(1)

Description

cloud-sandbox  is  a program that launches a cloud instance (EC2 by default), automatically generates ssh
       host keys, ssh's into the launched system, and prompts the user for instance termination on exit.

       cloud-sandbox does the following:
        - conveniently supports simple parameters for instance-type and  ubuntu-release,  by  passing  those  to
       ubuntu-ec2-run(1)
        -generatesssh-hostkeyslocallyusingssh-keygen(1),andpassesthemtotheinstance-automaticallyaddshostkeyfingerprintstoalocalhostkeysfile,$HOME/.ssh/known_hosts.cloud,whichremovestheinteractivefingerprintprompt-usesssh-import-id(1)intheinstancetoimporttheuser'spublicSSHkey,iftheenvironmentvariable$LAUNCHPAD_IDexists-usesbootmail(1)tosendtheuseremailnotingthattheinstancehasbooted,iftheenvironmentvariable$BOOTMAILexistsandisavalidemailaddress-waitsinaloopforsshd(8)tostartonthecloudinstance-execsanssh(1)sessiontotheinstance-uponexit,interactivelypromptstheuseriftheywanttoimmediatelyterminatetheinstanceandremotethesshknownhostkey

Example

        cloud-sandbox

        cloud-sandbox m1.large

        cloud-sandbox t1.micro trusty

Name

       cloud-sandbox - launch a cloud instance and ssh directly into it, as a 'sandbox' system

See Also

ubuntu-ec2-run(1),ssh-import-id(1),bootmail(1),ssh-keygen(1)

Synopsis

cloud-sandbox [instance-type [ubuntu-release]] [ec2-run-instance-options]

See Also