If I cat /etc/issue.net, it has this inside:

Kernel \r on an \m

When I use this as the ssh banner, it does not expand and just prints it as it's written.
What is this?

1 Answer 1


This is documented in the agetty manual page.

It would seem that sshd doesn't process those special strings.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .