To list your current configuration:
# esxcli network firewall ruleset list
To enable sshClient to enable copying using ssh:
#esxcli network firewall ruleset set -e true -r sshClient
For older esxi versions (5 and below)
# esxcli network firewall ruleset set –ruleset-id sshClient –enabled yes
To refresh the configuration:
# esxcli network firewall refresh