← Back to team overview

canonical-ci-engineering team mailing list archive

Re: handy bashrc alias for sshuttle

 

On 17 December 2013 18:12, Paul Larson <paul.larson@xxxxxxxxxxxxx> wrote:
> 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?

It drops a pidfile in the current working directory. Just:
kill $(cat sshuttle.pid)


References