[SOLVED] "Need to be root" - Sending ssh command remotly

openhab User für sudo Scripte aktivieren!
	sudo nano /etc/sudoers.d/011_openhab-nopasswd
		openhab ALL = (root) NOPASSWD: /etc/openhab2/scripts/shutdown.sh

If you follow this Instructions… than you give the Openhab User on raspberry the access to sudo the shutdown.sh
Note: SSH with Keys must work…

Here an German Tutorial … if this not your Native Language… Search with Google for SSH with Keys

http://www.schlittermann.de/doc/ssh.html