Welp im back again so i was able to fix my last issue and login to the router using ssh with no password. Well now i cant log in to the router again great. I think it may be beacause i wanted to edit the config so that it the router will only take ed25519 ssh keys. So i edited the /etc/dropbear config with -o PubkeyAcceptedKeyTypes=ssh-ed25519 right after i did that and logged out and logged back in to test it i started getting...
This
ssh root@192.168.1.1 -vvv
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolve_canonicalize: hostname 192.168.1.1 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/anon/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/anon/.ssh/known_hosts2'
debug3: ssh_connect_direct: entering
debug1: Connecting to 192.168.1.1 [192.168.1.1] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x10
debug1: connect to address 192.168.1.1 port 22: Connection refused
ssh: connect to host 192.168.1.1 port 22: Connection refused
I can still log in through the webgui and when i go to check the SSH access options this error pops up
How can i fix this