Skip to content

Commit

Permalink
fix path to sshd config file
Browse files Browse the repository at this point in the history
  • Loading branch information
rgildein committed Apr 24, 2024
1 parent c7463d1 commit f839607
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/functional/tests/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def set_ssh_password_access_on_backup_host():
"""Configure ssh access with password on backup host."""
backup_host_unit = _get_unit("backup-host")
command = (
'echo "PasswordAuthentication yes" > 01-test-settings.conf &&'
"service sshd reload"
'echo "PasswordAuthentication yes" > '
"/etc/ssh/sshd_config.d/01-test-settings.conf && service sshd reload"
)
result = zaza.model.run_on_unit(backup_host_unit.name, command, timeout=15)
_check_run_result(result)
Expand Down

0 comments on commit f839607

Please sign in to comment.