Allow deploy in ssh function wrapper