Handle host key not known + better compatibility with unix and [t]csh