I’ve searched a bit, but could not find a proper solution to this issue.
I’ve done a fresh and minimal installation on an old computer, and just configured networking and SSH before hiding it in a closet, with power and ethernet.
While reading the SSH wiki page, I went through the line that explains how to add a custom banner, thought ‘how cool, let’s try it’, and added:
in my /etc/ssh/sshd_config file, letting the default content :
Welcome to \n Arch Linux \r (\l)
But the result was quite unexpected, for I get exactly the same text when I connect through SSH.
Trailing characters remain as they are.
Thanks in advance for any advice!
Last edited by ArzhurB (2013-04-19 19:43:51)
Thanks, I know how to RTFM before posting...
So, if anyone has an answer.
Then please reference it: we can't read your mind (or tell what getty you are using)...
Assuming it is agetty, then according to the LFS documentation, SSH won't interpret those escape characters
http://www.linuxfromscratch.org/blfs/vi … logon.html
I thought telling it was a ‘minimal’ install would be enough, but you're right, I shoud have been clearer.
Thank you for the link, so I understand it is not a misbehaviour from my system, at least!