Use TRAMP rather than scp.
Add `trampaste-paste-hook', which is run after creating a new paste.