Question
Permission denied when trying to send file over scp.
I followed the getting starter guides, etc, securing the server and such and now I need to deploy a release to the server and I’m using scp to do it but when it’s connecting to the server I get asked for a password and when I use it it throws me an error saying “Permission denied, please try again.” I can log in without trouble through ssh but can’t send files over with scp. I don’t know what password it is asking for or what I did wrong.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×