Install
openclaw skills install @xlbbb-cn/sshexecA skill to execute SSH commands on remote servers, supporting both password and key-based authentication. It includes error handling and logging for command execution results.
openclaw skills install @xlbbb-cn/sshexecThis skill allows you to execute SSH commands on remote servers securely. It supports both password and key-based authentication methods, making it versatile for various use cases.
To execute a command on a remote server using password authentication:
python3 skills/sshexec/ssh_exec.py --host "remote-server.com" --user "username" --password "password" --command "ls -la"
To execute a command using key-based authentication:
python3 skills/sshexec/ssh_exec.py --host "remote-server.com" --user "username" --key "path/to/private/key" --command "ls -la"
The skill will provide detailed error messages if the command execution fails, such as authentication errors, connection issues, or command errors. All errors will be logged for further analysis.