I have a development HW with linux running and only root user. Upong bootup it asks me only username (which is root) and no password. So I assume there is no password for root user. Now I want to transfer a file from host system (Ubuntu 16.04) to this HW using scp but I keep getting asked for a password.
$ scp my_local_file email@example.com: /home/root
When I leave it blank and press enter, it says permission denied. I even tried the password as root and still no luck. I am pretty sure it worked before but dont remember giving it any password. How to scp to this remote machine?