Feature sudo option on ssh and note creation

These two add options to these two api, specifically to allow for use of sudo.