I created an image with buildroot. I added openssh to image. When I use scp -r
command at Host , It says permission denied always. I created new key with ssh-keygen at client. I renew password. I made many things. But always says permission denied. What is the problem ?
I fixed it.
- /etc/ssh/sshd_config file , uncomment
PermitRootLogin yes
- /etc/shadow file first line root:VZ4iC.47PbqeA:
99999
:0:99999:7::: change it to15555