ssh username support

fixes #536
continuation of #904