# Home Assistant - Router Reboot with Ping, EXEC and SSH

**URL:** <https://discourse.nodered.org/t/home-assistant-router-reboot-with-ping-exec-and-ssh/20456>\
**Category:** General\
**Created:** [16 January 2020 14:23 UTC](https://discourse.nodered.org/t/home-assistant-router-reboot-with-ping-exec-and-ssh/20456 "2020-01-16T14:23:25Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [16 January 2020 15:46 UTC](https://discourse.nodered.org/t/home-assistant-router-reboot-with-ping-exec-and-ssh/20456/4 "2020-01-16T15:46:47Z")

</div>

I haven't used the SSH node, when I want to execute a remote command via ssh I use a normal Exec node with a command something like `ssh user@ip_address 'reboot'`. If the reboot command needs to be `sudo reboot` then the device being rebooted needs to be configured to not need a password for that command.

---

_[View the full topic](https://discourse.nodered.org/t/home-assistant-router-reboot-with-ping-exec-and-ssh/20456)._
