fix ssh banner output and minor issues
fix terminal control character issues