Fix: Terminal entry not found in terminfo ‘screen-256color’ not known

I got:

E558: Terminal entry not found in terminfo 'screen-256color' not known. Available builtin terminals are:
...

This means that the remote host you are working on does not know about the terminal ‘screen-256color’. Fix:

local$ infocmp screen-256color > screen-256color.ti
local$ scp screen-256color.ti remote:
local$ ssh remote
remote $ sudo yum install ncurses ncurses-bin #optional
remote $ tic screen-256color.ti