Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Copy files with SCP

...

  • File Protocol: SCP
  • Host name: 192.168.1.1 (If it is not this one search on your Network settings)
  • Username: root

alt text

After doing this correctly, click on Add and now you are ready to work on WinSCP.

Now on your router side, the right one, open the tmp folder and on your Windows side, your left one, open the folder where is the file you want to copy alt text

Select the file you want to copy and click on Upload, then click Ok and the file is uploaded on your router. Finally, execute the following command to apply the file:

chmod +x /tmp/your-file.sh && /tmp/your-file.sh


How to copy files with SCP on Linux/Mac

Once you entered with SSH, use this command to copy your file:

scp example.txt root@192.168.1.1:/tmp


...

[Originally Published On: 09/23/2019 06:00 AM]