Not "ssh -l sduser proxmox_IP ALL=(root) NOPASSWD:/usr/sbin/shutdown", I meant changing it in the sudoers file from
sduser ALL=(ALL) NOPASSWD:/usr/sbin/shutdown
to sduser ALL=(root) NOPASSWD:/usr/sbin/shutdown
(like you did with visudo before).