def capture_tcp_packets_over_ssh():
dev = ev(<EOL>"<STR_LIT>",<EOL>"<STR_LIT>")<EOL>"""<STR_LIT>"""<EOL>default_filter = ("<STR_LIT>")<EOL>custom_filter = ev(<EOL>"<STR_LIT>",<EOL>default_filter)<EOL>log.info(("<STR_LIT>")<EOL>.format(<EOL>dev,<EOL>custom_filter))<EOL>kamene.sniff(<EOL>filter=custom_filter,<EOL>prn=handle_packets)<EOL>log.info("<STR_LIT>")<EOL>
capture_tcp_packets_over_ssh

    Capture ``TCP`` packets over ssh
    and call the ``handle_packets`` method

    Change the network interface by ``export CAP_DEVICE=eth0``