learning_curve
Senior Member
The thread title is what I'd like to achieve i.e. SFTP access to my RT-AC68U Router via a FileZilla client, but only using a passphrase protected private key and its paired public public key, so not using a User ID and password for SFTP access. AFAIK Dropbear that is supplied by Asus by default for SSH, is effectively a 'basic' sshd server, for lower resource devices (like my router!), so it does NOT support SFTP by default. Completely replacing Dropbear with OpenSSH is obviously a non-starter. However, I believe that it's possible to compile only the sftp-server from the openssh package and then run that with Dropbear. Has anybody done this already? If so, can the steps be posted on here?
As a secondary alternative, is anybody successfully using FTPS (FTP-SSL / FTP Secure) but with key only access (via a FileZilla client) but, without then needing to use a USB (device) on their router and, all of the Asus GUI, USB functionality i.e. USB Application - FTP Share (router url: /Advanced_AiDisk_ftp.asp). Again, If so, can you share that?
FWIW - SSH access, with the additional security levels mentioned above, works perfectly, on my RT-AC68U, just by using the existing Asus GUI SSH (aka Dropbear) settings:
Enable SSH: LAN Only
Allow SSH Port Forwarding: No
SSH Port: 22 (SSH access via LAN only, plus a passphrase protected private key and its paired public public key, negates any real need for a port number change)
Allow Password Login: No
Authorized Keys: ~~ Public Key Added
FWIW For all the reasons mentioned, those SSH settings, don't provide what's needed to achieve with SFTP. I do have 7 other, SFTP (Remote not LAN) server connections within FileZilla (plus all of their equivalent fully functional equivalent SSH connections via Terminal) which, are all using only unique, passphrase protected private keys and their paired public keys, for access, but.... They are ALL OpenSSH not Dropbear server / client connections, which is, I'm very sure, the reason for the difference between the two!
As a secondary alternative, is anybody successfully using FTPS (FTP-SSL / FTP Secure) but with key only access (via a FileZilla client) but, without then needing to use a USB (device) on their router and, all of the Asus GUI, USB functionality i.e. USB Application - FTP Share (router url: /Advanced_AiDisk_ftp.asp). Again, If so, can you share that?
FWIW - SSH access, with the additional security levels mentioned above, works perfectly, on my RT-AC68U, just by using the existing Asus GUI SSH (aka Dropbear) settings:
Enable SSH: LAN Only
Allow SSH Port Forwarding: No
SSH Port: 22 (SSH access via LAN only, plus a passphrase protected private key and its paired public public key, negates any real need for a port number change)
Allow Password Login: No
Authorized Keys: ~~ Public Key Added
FWIW For all the reasons mentioned, those SSH settings, don't provide what's needed to achieve with SFTP. I do have 7 other, SFTP (Remote not LAN) server connections within FileZilla (plus all of their equivalent fully functional equivalent SSH connections via Terminal) which, are all using only unique, passphrase protected private keys and their paired public keys, for access, but.... They are ALL OpenSSH not Dropbear server / client connections, which is, I'm very sure, the reason for the difference between the two!