Skip to main content
seems to do with permission, so added the permissions tag
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 266

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.

I have two different machine 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 scp file to be executable by other users on target machine, still it didn't work.

Thanks for your help in advance.

I have two different machines 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.

I searched a little bit and I gave permission for the scp file to be executable by other users on target machine, but it still didn't work.

Source Link
mduden
  • 11
  • 1
  • 1

SCP issue || Permisson Denied

I have two different machine 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 scp file to be executable by other users on target machine, still it didn't work.

Thanks for your help in advance.