diff --git a/gnutoo-trisquel-installer/Makefile b/gnutoo-trisquel-installer/Makefile index 2854052..d1d84d7 100644 --- a/gnutoo-trisquel-installer/Makefile +++ b/gnutoo-trisquel-installer/Makefile @@ -24,6 +24,7 @@ TARBALL_SOURCE = \ config/files/etc/network/interfaces.d/enp1s0.conf \ config/files/etc/network/interfaces.d/lo.conf \ config/files/etc/resolv.conf \ + config/files/etc/ssh/sshd_config \ config/package_config/FAIBASE \ config/scripts/FAIBASE/01-files \ Makefile diff --git a/gnutoo-trisquel-installer/config/files/etc/ssh/sshd_config/FAIBASE b/gnutoo-trisquel-installer/config/files/etc/ssh/sshd_config/FAIBASE new file mode 100644 index 0000000..83a17ed --- /dev/null +++ b/gnutoo-trisquel-installer/config/files/etc/ssh/sshd_config/FAIBASE @@ -0,0 +1,23 @@ +# +# Copyright (C) 2023 Denis 'GNUtoo' Carikli +# +# This project is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This project is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this project. If not, see . + +KbdInteractiveAuthentication no +PasswordAuthentication no +PermitEmptyPasswords no +Port 222 +PrintMotd no +Subsystem sftp /usr/lib/openssh/sftp-server +UsePAM no \ No newline at end of file diff --git a/gnutoo-trisquel-installer/config/scripts/FAIBASE/01-files b/gnutoo-trisquel-installer/config/scripts/FAIBASE/01-files index e51fd3e..9939583 100755 --- a/gnutoo-trisquel-installer/config/scripts/FAIBASE/01-files +++ b/gnutoo-trisquel-installer/config/scripts/FAIBASE/01-files @@ -20,3 +20,4 @@ fcopy -iM /etc/fai/fai.conf fcopy -iM /etc/network/interfaces.d/lo.conf fcopy -iM /etc/network/interfaces.d/enp1s0.conf fcopy -iM /etc/resolv.conf +fcopy -iM /etc/ssh/sshd_config