in reply to OT: How to copy a remote file to local system through SCP ?

See Running remote commands with sudo.

In order to copy the file use just cat.