proxmox: fix SFTP in management VRF

This commit is contained in:
Timotej Lazar 2023-11-20 12:55:52 +01:00
parent eed2308609
commit 62a3dc5121
2 changed files with 4 additions and 3 deletions

View file

@ -0,0 +1,15 @@
# This is for sshd in management VRF, for ansible and other not-really-OOB stuff.
PidFile none
UsePAM no
Subsystem sftp /usr/lib/openssh/sftp-server
# Only allow pubkey auth.
KbdInteractiveAuthentication no
PasswordAuthentication no
PermitRootLogin prohibit-password
# Disable what we can.
AllowTcpForwarding no
GatewayPorts no
X11Forwarding no