Quantcast
Channel: Question and Answer » sftp
Viewing all articles
Browse latest Browse all 19

SSH (or SFTP) upload files from OSX terminal

$
0
0

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)

Kind regards.


Viewing all articles
Browse latest Browse all 19

Latest Images

Trending Articles



Latest Images