hugoduncan/clj-ssh — pull request #9 by echeran (2012-04-05 06:59:16+00:00)
Title: Minor changes surrounding SSH tunnel support

Hi Hugo,
Thanks for working on clj-ssh. I needed to get SSH tunneling working, but I kept getting exceptions when closing the connection using the with-local-port-forward macro.

I did some testing, and I created a macro that contains the weird sequence of connection open/close and local port forward/unforward in order to work around the exceptions generated on close. It seems to work, but if so, it violates the ideal proper nesting that you would expect...

I also updated the documentation accordingly.

I hope this helps.

Thanks,
Elango