fix hosts and ssh port issue