September 24 2025

Sonicwall maintenance: reboot script with SSH

#!/bin/bash
SONICWALL_IP="sonicwall-ip"
USERNAME="admin"
PASSWORD="yourpassword"
(echo -e "$USERNAME" ; sleep 2; echo -e "$PASSWORD" ; sleep 2; echo "restart" ; sleep 2; echo "Yes" ; sleep 1; exit) | ssh -t "$USERNAME@$SONICWALL_IP"


Copyright 2021,2022,2023,2024,2025. All rights reserved.

Posted September 24, 2025 by reggie goldman in category "Uncategorized