provision/docker: handling http errors in ssh command