Link to home
Start Free TrialLog in
Avatar of CME-IT
CME-IT

asked on

scp syntax

I need to copy a file from a linux server to a linux workstation.  I can putty into each machine from my windows desktop.

using the following command, I am then asked for a password and after entering the password

scp ./file user@192.168.1.x:/home/user/file

I get the following error

bash: line 16: ll: command not found

ASKER CERTIFIED SOLUTION
Avatar of brettmjohnson
brettmjohnson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CME-IT
CME-IT

ASKER

it is /usr/bin/scp
Avatar of CME-IT

ASKER

I had been told that the user had permissions and I was able to log on remotely as him, however, I could not scp with his login or password.  When I changed the user to root and gave the root password everything worked.

Thank-you for your input.