moved `os.path.expanduser` to configuration, timeout bugfix ssh connect