permission using chmod -R 777 from one server to other

How to give permission to the files which I am securely transferring from source server to destination server using SCP.

scp –password=N@178 -r /source path/ sb65@server:/destination/path;

then how to give permission in my script to ‘/destination/path’ these file paths? ??

sb65– user name
server-server name

Thanks in advance !