1
1
Fork 0

Add fancy ssh banner

This commit is contained in:
Tim Van Baak 2023-08-02 15:23:52 +00:00
parent b9c6e20ef6
commit 35247f7b4a
1 changed files with 10 additions and 0 deletions

View File

@ -78,6 +78,16 @@ in {
(mkIf cfg.defaults.ssh { (mkIf cfg.defaults.ssh {
services.openssh.enable = true; services.openssh.enable = true;
services.openssh.banner = ''
____ ______ _______ _____ ______ _____ ______ ./|,,/|
| _ \| ____| /\ |__ __|_ _| ____|_ _|/ ____/ < o o|
| |_) | |__ / \ | | | | | |__ | | | | <\ ( |
| _ <| __| / /\ \ | | | | | __| | | | | <\\ |\ |
| |_) | |____/ ____ \ | | _| |_| | _| |_| |___<\\\ |(__)
|____/|_____/_/ \_\|_| |_____|_| |_____|\_____|\\ |
'';
networking.firewall.allowPing = true;
networking.firewall.allowedTCPPorts = [ 22 ]; networking.firewall.allowedTCPPorts = [ 22 ];
}) })