Make sure HOME is set, regardless of OS, so that File.expand_path works as expected with tilde characters.
Required files
- logger
- net/ssh/config
- net/ssh/errors
- net/ssh/loggable
- net/ssh/transport/session
- net/ssh/authentication/session
- net/ssh/connection/session