I have a similar issue, however due to the way I connect to server, I can’t figure out how to apply this solution
I connect to my server like this
ssh -p 2222 thatilike@192.185.21.105
then cd public_html
The public_htlm
folder is where I want to copy file to
Let’s say I want to copy logo.png to the public folder what would be the command for that?