What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

How to copy files to router

pedeb04

Occasional Visitor
I use ubuntu on my desktop and server, witrh asuswrt-merlin on RT-AX86_U_Pro and can ssh into router from desktop and server.
Before I change from a usb flashdrive on the router to a usb ssd, I tried coping backupmon.cfg from the network share on the server to the router without success.
I tried using scp and rsync but both commands gave errors.
I tried the file manager through other locations using smb, and I did manage to copy backupmon.cfg from the server share folder to router MerlinAu.d directory, however when I ssh into router the file is not there?

Can someone help me to copy files to router please.

Regards
pedeb04
 
Try scp -O myfile admin@192.168.50.1:/tmp

Newer OpenSSH scp uses sftp instead of the scp protocol. The O (Oh, not zero) option reverts to the scp method.
 
Another option is to install entware openssh-sftp-server. You can then manage file transfers from your favorite ftp client that supports sftp.
 
Wow, I did not know that, thanks so much.
You can also install filezilla on your linux machine... it's a winscp "equivalent". And should be able to connect using SFTP using @visortgw's advice above.

Code:
sudo apt-get install filezilla

1740449655460.png
 
Last edited:
Another option is to install entware openssh-sftp-server. You can then manage file transfers from your favorite ftp client that supports sftp.
Thanks your option worked as well, I must have a look at all the other entware packages.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top