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

@ -2,6 +2,7 @@
PidFile none
UsePAM no
Subsystem sftp /usr/lib/openssh/sftp-server
# Only allow pubkey auth.
KbdInteractiveAuthentication no

View file

@ -9,9 +9,9 @@
notify: reboot
- name: Configure SSH instance in management VRF
template:
dest: /etc/ssh/sshd_config.mgmt
src: sshd_config.mgmt.j2
copy:
dest: /etc/ssh/
src: sshd_config.mgmt
mode: 0644
notify: reboot