Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

There's also the "exec" keyword that lets you run a command in a "Match" block like so:

  Match host my-pc.local exec "wakeonlan -i 192.168.178.255 11:22:33:44:55:66"
This doesn't cover the case when the connecting machine is in another network but it does avoid a hop. Perhaps you could also run another SSH command in the exec condition that connects to the Pi and has it send the WoL packet.


Thanks, this could be useful if I decide to set up a VPN in the future.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: