I'm currently logged onto my remote server and I need to transfer a file from my local machine to my remote server using SCP but it doesn't seem to be working. I was able to do it using SFTP but I don't know why I am having such a difficult time with using SCP.
[awong10@hills ~]$ scp -r ~/sugar.txt awong10@147.144.12.15:.
this is the command I entered but apparently it's wrong. am I missing something?