In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 4:
local FILE=$1
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local FILE="$1"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 5:
local TYPE=$2
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local TYPE="$2"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 6:
local DIR="$(dirname "$FILE")"
^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-^ SC2155 (warning): Declare and assign separately to avoid masking return values.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 9:
ssh-keygen -q -f "${FILE}.tmp" -N '' -t $TYPE
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ssh-keygen -q -f "${FILE}.tmp" -N '' -t "$TYPE"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 35:
. /etc/default/ssh
^--------------^ SC1091 (info): Not following: /etc/default/ssh was not specified as input (see shellcheck -x).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 39:
kdir -p $SYSCONFDIR
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mkdir -p "$SYSCONFDIR"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 42:
set -- ${SSHD_OPTS} --
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
set -- "${SSHD_OPTS}" --
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 63:
[ -f $key ] && continue
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -f "$key" ] && continue
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 67:
generate_key $key rsa
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
generate_key "$key" rsa
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 71:
generate_key $key ecdsa
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
generate_key "$key" ecdsa
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 75:
generate_key $key ed25519
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
generate_key "$key" ed25519
For more information:
https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ...
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.
https://www.shellcheck.net/wiki/SC1091 -- Not following: /etc/default/ssh w...