my sftp was working from FileZilla, with a file based key
my ssh still worked with same file based key
when sftp stopped working, i googled the results from logread -f, and it said dropbear does not support sftp, i need to install openssh-sftp-server
where did dropbear come from? was it installed automatically during a firmware upgrade?
so I followed some AI instructions from google to stop and disable DropBear, and install OpenSSH and OpenSHH-Server.
Now I can’t ssh into the router, it does not accept my key file, and it does not accept my root pwd
i am still logged into the web interface (GL-inet) and also Luci.
should i use luci > system > software to uninstall openssh-keygen and openssh-server and openssh-sftp-server and dropbear
then reboot, then re-install the 3 openssh software apps, and try my root pwd via ssh ?
if that does not work, is my only option to do a factory reset?
does luci have a way to launch a terminal to run commands thru the web interface? or is there a software app or plugin i can install to try that so i can get a shell access?
in web interface, System > Log, tab = System
I was able to find this:
Thu Apr 30 11:09:31 2026 auth.info sshd[7391]: Failed password for root from 10.0.0.2 port 62072 ssh2
Now I am installing luci-app-ttyd to try to get a terminal from the Luci web interface
thank the godz! the terminal showed up under Luci > Services > Terminal, and I was able to login as root using the pwd, so I know the pwd is good. Now I will look at the ssh configs to find out why i can’t login via ssh
The dropbear is a cut down version of ssh that OpenWrt uses as default. I have found that scp -O works with dropbear, as is uses the original SCP protocol for file transfers instead of the SFTP protocol.
For OpenSSH, take a look at: /etc/ssh/sshd_config, as normally it is setup to not allow root logins. Look for the line: PermitRootLogin yes
thanks. i guess what I really wanted to know was: how did dropbear take over when i previously had openssh installed and working with filezilla? would a firmware update do that?
to replace DropBear with OpenSSH, and install openssh-sftp-server, and now i can use filezilla to grab logs from the router. the wiki was helpful in how it copies the key files from DB to OSSH, and also enable the root login