A máquina que você está usando para inserir na máquina remota parece estar perdendo as bibliotecas ncurses
. Instale-os com apt-get install libncurses5
ou baixe-os na página da web de suas distribuições.
[De: link ]
If your sftp2 complains something like this: "Need basic cursor movement capability, using vt100", then no library containing tgetent() function was found when you ran ./configure . If you have a Linux system, then that is probably because you don't have either termcap-devel or ncurses-devel packages installed. If you want to get rid of the message, and/or to use some more exotic terminals capabilities, you should install either package. (A good place to look for those is your distribution's web-page.)