Win10 SCP 提示 Permission denied, please try again

Background: I want to copy files or folders to Linux from win10 cmd

Symptom: I have run the cmd with administrator rights, or I still have permission problems. Permission denied, please try again

Reason: The target path may require sudo permissions.

Solution: Copy the file to a folder that does not require sudo permissions, such as Downloads. Then manually copy to the target path with sudo on Linux. System directories like / usr, etc.

Published 202 original articles · 80 praised · 300,000 views +

Guess you like

Origin blog.csdn.net/qxqxqzzz/article/details/105238771