I am able to create the trigger for an insert to a local table
cdcsample2.
So, it could be the problem for the remote-database.
Did you try to create a procedure that is able to insert a record in cdcsample@dev.
And then call this procedure from the trigger.