Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4974

Beginners • Re: permission denied scp file transfer error

$
0
0
Show us the exact command you're trying to use. Wrap it in code tags (look in the menu bar above the text entry box).

And make sure that the username you use for the scp comand is that of the user on the Pi you wish to connect as and not that of the current windows user. The password also needs to be that of the Pi user.

If your windows user is fred but your Pi user is nobby, your pi has the hostname raspberrypi, and you want to copy figgin.txt in the current directory on Windows to your user's home directory on the PI the command would be:

Code:

scp figgin.txt nobby@raspberrypi:./
If you don't know the user name on the Pi (e.g you're using auto login and have forgotten) open a terminal and run

Code:

whoami

Statistics: Posted by thagrol — Mon Jun 03, 2024 11:00 pm



Viewing all articles
Browse latest Browse all 4974

Trending Articles