If you find that outbound ssh connections are not working (see the example below), you will likely need to allow ssh connections via the ESX firewall.
ssh: connect to host test1 port 22: Connection refused
The command to achieve this is below.
esxcfg-firewall -e sshClient