0

This question already has an answer here:

A remote router is accessible via SSH: 16.04 scp copies files back and forth from the command line.

ASUSWRT-Merlin RT-AC68U 384.7-2 Sun Oct 21 17:18:03 UTC 2018

USER@router:/tmp/home/root#   
# uname -a

Linux RT-AC68U-3D90 2.6.36.4brcmarm #1 SMP PREEMPT Sun Oct 21 13:27:49 EDT 2018 armv7l ASUSWRT-Merlin

sftp does not seem to work from the command line:

sftp user@monkeybusiness.com

user@monkeybusiness.com's password: 
sh: /opt/libexec/sftp-server: not found
Connection closed

I would like to use a GUI (Filezilla, Krusader, Nautilus), however I have not yet met with success with this trio.

This article indicates Krusader's fish protocol supports SCP, however the error received is:

Error: The directory ... does not exist:

enter image description here

QUESTION

What else can be done configure Krusader to access the router and SCP (not SFTP) files?

marked as duplicate by Sparhawk, Mr Shunz, elbarna, Thomas, roaima Feb 16 at 21:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    To use sftp, both sides have to support it. The error you are seeing suggests that monkeybusiness.com is either configured incorrectly (the sshd configuration for the sftp subsystem points to the wrong location), or sftp is disabled (the sftp server has been removed). sftp is not an intrinsic part of the SSH protocol; it is implemented with an external binary as a general rule. – Jeremy Dover Feb 9 at 14:12
  • I honestly doubt it is on topic here whether a particular proprietary router model supports this or that protocol. – Rui F Ribeiro Feb 9 at 15:53
  • 4
    Possible duplicate of Open file from remote computer on host computer; not an exact dupe, but the solution is the same (sshfs). – Sparhawk Feb 14 at 6:11
0

To install Optware on your RT-AC68U in three simple steps:

  • Mount the ext4 formatted disk;
  • Go to router’s web interface (router.asus.com) -> USB Application and install Download Master;
  • Once successfully installed, uninstall it (not disable). The Optware package will remain installed, but just the Download Master will be removed.

Uninstall the Download Master because it is incompatible with transmission for Optware, a better alternative for the torrent client.

After Optware install, install SSH server:

ipkg install openssh-sftp-server

sshfs is now possible

Not the answer you're looking for? Browse other questions tagged or ask your own question.