proxmox: fix SFTP in management VRF
This commit is contained in:
parent
eed2308609
commit
62a3dc5121
2 changed files with 4 additions and 3 deletions
15
roles/proxmox/files/sshd_config.mgmt
Normal file
15
roles/proxmox/files/sshd_config.mgmt
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue