Use '\012' as the end of the SSH banner line, not '\n'.