I need to make these changes for the reboot / poweroff action to work:
- Manually edit CopSSH's etc/sshd_config to use OPENQRM_EXEC_PORT instead of the default port 22 .
- Change the command in files:
from "reboot" to "reboot || shutdown -r -t 0" and from "halt" to "halt || shutdown -s -t 0"
By the way, as new version CopSSH is no longer free, perhaps it's good to look for alternative? KpyM Telnet/SSH Server looks like a good option, as it works without an installer , and all options can be specified in .ini files, with openQRM-Client.nsi taking care of creating the root user .
 CopSSH installer doesn't seem to allow specifying the port, although it does support /S for silent mode, and /D for the destination dir: https://www.itefix.no/i2/content/how-can-i-install-copssh-silently
Log in to post a comment.