t5601: remove clear_ssh, refactor setup_ssh_wrapper