Latest firmware do not support root access on ssh only can access as normal user and it is not possible to mess around with files then.
You need the cloud code? You are sure it is not printed on the cameralabel. On later firmware it should show in webif.