Fix machine.rb

define ssh communicate method for non windows vm.