rebult windows with ssh failure handling