gnutoo-trisquel-installer: Add SSH configuration

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2023-10-07 05:10:41 +02:00
parent 9d3aad54fa
commit dcb3a7cb72
Signed by: GNUtoo
GPG Key ID: 5F5DFCC14177E263
3 changed files with 25 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,23 @@
#
# Copyright (C) 2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
#
# 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 <http://www.gnu.org/licenses/>.
KbdInteractiveAuthentication no
PasswordAuthentication no
PermitEmptyPasswords no
Port 222
PrintMotd no
Subsystem sftp /usr/lib/openssh/sftp-server
UsePAM no

View File

@ -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