With the development of the distribution network, the prime station transfers data including the remote control command to the terminal through the public network. In order to prevent attack from the public network and ensure the security of remote control commands, new terminals in the distribution network are required to check the integrity of remote control commands and the identity of the prime station. Implementation of the above process using the hash algorithm and asymmetric encryption technology is described. The procedure of the implementation of remote control encryption test software applied to the distribute network terminal based on OpenSSL is presented. This software can imitate the prime station and generate composite remote control commands to test the security protection capability of terminals in the distribution network.