Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:dpi:dpi_components:platform:subscriber_management:subsman_remote:start [2023/08/30 11:19] – elena.krasnobryzh | en:dpi:dpi_components:platform:subscriber_management:subsman_remote:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Remote control ====== | ||
- | {{indexmenu_n> | ||
- | [[en: | ||
- | The alternative remote control methods are: [[en: | ||
- | |||
- | ===== Remote execution of SSH commands ===== | ||
- | |||
- | We advise to authenticate users by public keys to execute command on DPI server remotely by SSH with no need to enter password. | ||
- | |||
- | To use this method: on the control server: | ||
- | - We create a pair of public and private keys:< | ||
- | - We copy the public key to DPI server:< | ||
- | or manually: | ||
- | cat ~/ | ||
- | |||
- | Then we check and fix the rights on file authorized_keys on DPI server:< | ||
- | chmod 600 ~dpi_user/ | ||
- | restorecon -Rv ~dpi_user/ | ||
- | |||
- | Next, we check the operation of the remote execution of fdpi_ctrl from the control server: | ||
- | < | ||
- | ssh dpi_user@dpi_host " | ||
- | </ | ||
- | In case this instruction does not work, try to find some hints in the log file / | ||
- | |||
- | ===== Remote execution of fdpi_ctrl utility ===== | ||
- | |||
- | To execute fdpi_ctrl utility remotely one has to make the following actions: | ||
- | - To enable listening for the network control interface in DPI configuration file / | ||
- | - To open the access to the port configured by ctrl_port in firewall settings / | ||
- | - To copy fdpi_ctrl utility to the control server and start it with an argument -r host: | ||
- | |||
- | :!: Please take care to update fdpi_ctrl on the control server on each DPI update. |