added sudo and ssh support. Sudo all for npuser and root with ssh public key (no password)