In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.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/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.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/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.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/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 9:
rm -f ${FILE}.tmp
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f "${FILE}".tmp
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 10:
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/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 36:
. /etc/default/ssh
^--------------^ SC1091 (info): Not following: /etc/default/ssh was not specified as input (see shellcheck -x).
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 40:
kdir -p $SYSCONFDIR
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mkdir -p "$SYSCONFDIR"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 43:
set -- ${SSHD_OPTS} --
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
set -- "${SSHD_OPTS}" --
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 64:
[ -f $key ] && continue
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -f "$key" ] && continue
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 68:
generate_key $key rsa
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
generate_key "$key" rsa
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 72:
generate_key $key ecdsa
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
generate_key "$key" ecdsa
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/openssh/sshd_check_keys line 76:
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...