Using pscp and getting permission denied

前端 未结 3 1322
后悔当初
后悔当初 2021-02-05 05:40

I\'m using pscp to transfer files to a virtual ubuntu server using this command:

pscp test.php user@server:/var/www/test.php

and I get the erro

3条回答
  •  误落风尘
    2021-02-05 06:07

    I had the same error "pscp: unable to open YourFilePath: permission denied",

    check the ownership of the file you are trying to overwrite, you will get this error if you can't overwrite it,

    If you don't have control over the remote file, just simply try to rename the file you are trying to move.

提交回复
热议问题