I'm trying to upload a file through terminal (didnt managed to do it trough transmit.app)
- I'm connected to SSH to my server.
- I want to sent a file from my Local desktop to my server.
That the command I'm trying :
scp /Users/username/Desktop/ad-blocker.sh user@IP:/var/packages/DNSServer/target/script/
I always have this error though " No such file or directory "
not a expert of SSH, but if I'm connected to my server to SSH, how would terminal access my local file anyway (/Users/username/Desktop/ad-blocker.sh)