Differences
This shows you the differences between two versions of the page.
en:subsman_remote_ssh [2015/04/05 16:29] – created translator1 | en:subsman_remote_ssh [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | 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:< | ||
- | - Next, 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 / | ||
- | |||
- |