Потому что в вашем файле sshd_config
нет UseLogin yes
. По умолчанию нет
. На странице руководства:
UseLogin Specifies whether login(1) is used for interactive login ses‐ sions. The default is “no”. Note that login(1) is never used for remote command execution. Note also, that if this is enabled, X11Forwarding will be disabled because login(1) does not know how to handle xauth(1) cookies. If UsePrivilegeSeparation is specified, it will be disabled after authentication.
Чтобы напечатать все после совпадения с «иглой», используйте sed:
sed -n '/needle/,$p' filename
Замените needle
фактическим шаблоном, который вы хотите сопоставить с точкой в файле для печати.