set environment variables the net/ssh way and version bump

Not _sure_ if this deserves a minor version bump, but it's a nice feature; had to be done to make it work with hadrian, anyway.