proxmox: fix SFTP in management VRF
This commit is contained in:
parent
eed2308609
commit
62a3dc5121
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
PidFile none
|
PidFile none
|
||||||
UsePAM no
|
UsePAM no
|
||||||
|
Subsystem sftp /usr/lib/openssh/sftp-server
|
||||||
|
|
||||||
# Only allow pubkey auth.
|
# Only allow pubkey auth.
|
||||||
KbdInteractiveAuthentication no
|
KbdInteractiveAuthentication no
|
|
@ -9,9 +9,9 @@
|
||||||
notify: reboot
|
notify: reboot
|
||||||
|
|
||||||
- name: Configure SSH instance in management VRF
|
- name: Configure SSH instance in management VRF
|
||||||
template:
|
copy:
|
||||||
dest: /etc/ssh/sshd_config.mgmt
|
dest: /etc/ssh/
|
||||||
src: sshd_config.mgmt.j2
|
src: sshd_config.mgmt
|
||||||
mode: 0644
|
mode: 0644
|
||||||
notify: reboot
|
notify: reboot
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue