What's new

How to transfer files from SSH session on ASUSWRT to local computer

If you're using Merlin's firmware you could use SCP. But personally I'm too lazy fire up WinSCP. I have a USB drive plugged into my router being shared with Samba. I just copy files by putting them in the shared folder.
 
I tried using SCP however the connection gets denied.
If you are getting a connection denied message it typically means something is misconfigured either on the router or within the WinSCP program. Are you by chance trying to access the router using SSH from a remote location (i.e. from the WAN side)?

Not having any issues using WinSCP to access either a RT-AX86U Pro or a RT-AC68U (both running Asus-Merlin firmware) from the local network side. Check the configuration (like IP address, port # and SCP setting) for both to ensure they match. Examples attached.
 

Attachments

  • routerSSH.jpg
    routerSSH.jpg
    50 KB · Views: 301
  • winscp.jpg
    winscp.jpg
    59.7 KB · Views: 304
if you can ssh SCP should work

command format
scp -P (ssh port) (router login name)@(Ip of router):/jffs/scripts/* (destination or "." for current directory)
 
Similar threads
Thread starter Title Forum Replies Date
T Remote ssh attempts even though ssh is “LAN only” ASUS Wi-Fi 13

Similar 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