Symptoms
- The SSH client was added to the chrooted shell environment template using the steps from this article.
- The text files cannot be opened by the
vim
editor, with the error below:E557: Cannot open termcap file
- Instead of the
Backspace
button, the symbols are removing with theSpace
button. - In an attempt to read a file with
less
utility, after it is not possible to exit from the opened file.
Cause
This is a Plesk bug with ID #PPPM-12254, which is planned to be fixed in the next Plesk release versions.
Resolution
Until the bug will be fixed, apply the following workaround:
- Log into the server via SSH.
- Run the command below to add terminal capabilities to the chroot template:
# ./update_chroot.sh –termcap
-
Using the command below, apply new template:
- For the specific domain:
# ./update_chroot.sh –apply example.com
Note: replace
example.com
with the name of the required domain. -
For all domains:
# ./update_chroot.sh –apply all
- For the specific domain: