Why delete the file first? Just run the scp without any ssh.
scp /run/media/perkel/dnscrypt-proxy.toml root@192.168.1.1:/etc/dnscrypt-proxy2/
Why delete the file first? Just run the scp without any ssh.
scp /run/media/perkel/dnscrypt-proxy.toml root@192.168.1.1:/etc/dnscrypt-proxy2/
I delete the .toml cause the original one is not configure yet, so I want to replace with mine
You could just restore it from your backup.
If you place it in your buildroot files folder as @hnyman suggested it will show up when you flash your build. As a caveat, you can also cp
it from /rom/etc/dnscrypt-proxy
if you mess it up.
yes, it would be easier lol.
But in the meantime, I'm learning too with that, trying to use a script
thanks anyway guys
I think rsync would be better option vs scp?
Don't need ssh