The command I am using to copy a file from remote to my local machine is as follows:
scp root@IP_OF_MY_REMOTE_MACHINE:/home/sqldump.sql ~
So I am copying from /home directory of remote machine to my local machine home directory but what i get is a file copied in the remote machine's home directory.
Where I am going wrong ?
I know it must be silly mistake. But any help will be thankfully received.