fix ssh scaling issue