Fixes #5109 synchronize module ssh port

Added a parameter for dest_port and also check ansible_ssh_port inventory variable.