I have a similar thing, just as a script called do-sshuttle instead.
What I have found to be a bit annoying is killing off the previous
sshuttle though. I usually have to go through and kill off several
processes by hand until ps is clear of anything sshuttle related. Have
you found an easier way to clean up after sshuttle?

On Tue, Dec 17, 2013 at 11:45 AM, Andy Doan <[email protected]> wrote:
> I find myself always having to look up my juju boostrap node and run
> sshuttle to connect to it. Thought I'd share my bash alias that makes it
> simple for me:
>
> function sshuttle_lcy02 ()
> {
>         source $HOME/.canonistack/novarc_lcy02
>         ip=$(euca-describe-instances | grep juju-opens | awk '{print
> $(NF-1)}' | tail -n1)
>         sshuttle -r ubuntu@$ip 10.55.0.0/16
> }
>
> --
> Mailing list: https://launchpad.net/~canonical-ci-engineering
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/~canonical-ci-engineering
> More help   : https://help.launchpad.net/ListHelp

-- 
Mailing list: https://launchpad.net/~canonical-ci-engineering
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~canonical-ci-engineering
More help   : https://help.launchpad.net/ListHelp

Reply via email to