update.sh: don't proceed on failure and use ssh socket if available