output declarations for iterate outside the if, since the documentation states that variables declared inside iterate should be visible in the until condition
getCapabilities() for the ssh handlers