I have two different machinemachines and I tried to copy a file via SCP. I executed below command:
scp trial.txt [email protected]:/unixStudy/trial.txt and then I got "Permission denied" error even though I typed correct password for user root.
Also, I searched a little bit and I gave permission for the scp file to be executable by other users on target machine, stillbut it still didn't work.
Thanks for your help in advance.