Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:dpi:dpi_components:platform:subscriber_management:subsman_remote:subsman_remote_ssh [2018/03/21 11:50] – created lexx26 | en:dpi:dpi_components:platform:subscriber_management:subsman_remote:subsman_remote_ssh [2023/08/30 11:17] (current) – removed elena.krasnobryzh | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Remote execution of SSH commands ====== | ||
- | {{indexmenu_n> | ||
- | 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:< | ||
- | - ialogue. We keep the secret phrase empty to simplify further usage((Alternatively, | ||
- | 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 / | ||