{}

Search FAQs

{"searchBar":{"inputPlaceholder":"Search by keyword or ask a question","searchBtn":"Search","error":"Please enter a keyword to search"}}

SSH script fails to run from PowerChute Network Shutdown with error (java.nio.charset.MalformedInputException: Input length = 1)

Issue:
Configured PowerChute Network Shutdown to run an SSH script and it fails to run and records error (java.nio.charset.MalformedInputException: Input length = 1).

Product:
PowerChute Network Shutdown version 4.3, 4.4, 4.4.1

Environment:
All support Windows OS

Cause:
Wrong encoding select for the script text file.

Solution:
PowerChute Network Shutdown will support text file encoding UTF-8. Save the text file with the required encoding, and PowerChute will trigger it.
SSH Script Encoding.png

Did this answer your question?

Explore more
Explore more
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.