diff --git a/deepce.sh b/deepce.sh index d96ec37..99eae3e 100755 --- a/deepce.sh +++ b/deepce.sh @@ -561,7 +561,7 @@ containerServices() { # shellcheck disable=SC2181 if [ $? -eq 0 ]; then if [ -f "/etc/ssh/sshd_config" ]; then - sshPort=$(grep /etc/ssh/sshd_config "^Port" || echo "Port 22" | cut -d' ' -f2) + sshPort=$(grep "^Port" /etc/ssh/sshd_config || echo "Port 22" | cut -d' ' -f2) printSuccess "Yes (port $sshPort)" else printSuccess "Yes"