Symptoms
The text files cannot be opened by the
vimeditor, with the error below:E557: Cannot open termcap file
Characters are not removed with the
backspacebutton, instead aspacecharacter is written in SSHIn an attempt to read a file with
lessutility, after it is not possible to exit from the opened file.In SSH Terminal extension the arrow keys do not work as expected to navigate in the SSH session
Cause
Plesk bug with ID #PPPM-12254, which is planned to be fixed in a future Plesk version.
Resolution
Until the bug is fixed, apply the following workaround:
Download the update_chroot script to the server
Add the terminal capabilities to the chroot template by executing the update_chroot script as below:
# ./update-chroot.sh --termcap
Apply the new template:
For the specific domain:
# ./update-chroot.sh --apply example.com
Note: replace
example.comwith the name of the required domain.For all domains:
# ./update-chroot.sh --apply all