What command to copy from desktop to server? Getting "permission denied"
I'm a newbie. here's the scoop.
I'm logged on to a server as root, lets just say at 184.108.40.206
I'm on an ubuntu machine with a file that i'm trying to copy from:
the file name is: nagios-3.1.2.tar.gz
I want to copy this file from the desktop, to the /tmp/ folder on the server.
I tried scp /home/user/Desktop/nagios-3.1.2.tar.gz email@example.com:/tmp/
but I got a "/home/user/Desktop/nagios-3.1.2.tar.gz: permission denied" error.
any ideas? Thanks for any/all help.