Skip to content

Commit

Permalink
Update 500_ssh_setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmeix committed Dec 11, 2020
1 parent cc0d6e8 commit 41de193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/share/rear/build/default/500_ssh_setup.sh
Expand Up @@ -17,7 +17,7 @@ if [[ -f "$sshd_config_file" ]]; then
local password_authentication_value=no
# Avoid that the SSH_ROOT_PASSWORD value is shown in debugscript mode
# cf. the comment of the UserInput function in lib/_input-output-functions.sh
# how to keep things confidential when usr/sbin/rear is run in debugscript mode:
# how to keep things confidential when usr/sbin/rear is run in debugscript mode
# ('2>/dev/null' should be sufficient here because 'test' does not output on stdout):
{ test "$SSH_ROOT_PASSWORD" ; } 2>/dev/null && password_authentication_value=yes

Expand Down

0 comments on commit 41de193

Please sign in to comment.