openssh greeting fixes

This commit is contained in:
William 2025-11-03 12:34:40 -03:00
parent 447778eb46
commit fe091504d0
4 changed files with 24 additions and 8 deletions

View file

@ -4,10 +4,8 @@
services.openssh = {
enable = true;
settings.PermitRootLogin = "no";
extraConfig = ''
PrintLastLog no
'';
};
programs.fish.interactiveShellInit = ''
if set -q SSH_CONNECTION
neofetch
end
'';
}