Cannot SSH into openwrt on new install

Just installed OpenWrt 19.07.3 r11063-85e04e9f46 / LuCI openwrt-19.07 branch git-20.229.71287-57456a7 on my TP-Link Archer A7 v5. I have access to LuCI however I have no ability to SSH. I have enabled SSH access in the Administration section and I can reach the router from my machine, however I am getting issues with ash and it looks like ash cannot find a program called tic. I do not know if telnet is disabled by default but I cannot telnet into the machine either.

✗ ssh root@192.168.1.1
The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established.
RSA key fingerprint is SHA256:MmguHDMzd9HloFkKdSp096yD+rz+v9uS/02ZQih/eVU.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.1.1' (RSA) to the list of known hosts.
root@192.168.1.1's password:
ash: tic: not found
Connection to 192.168.1.1 closed.

The syslog shows:

Fri Aug 21 14:52:41 2020 authpriv.notice dropbear[15176]: Password auth succeeded for 'root' from 192.168.1.152:47322
Fri Aug 21 14:52:41 2020 authpriv.info dropbear[15176]: Exit (root): Disconnect received

@pard, welcome to the community!

What other changes did you make to the OpenWrt?

SSH to the router from LAN is enabled by default on a fresh OpenWrt install Also, there's no password by default. So your issue is very unclear.

That's normal.

???

This is what I did, wasn't aware that SSH was enabled by default, I've always done this as my first step :smiley:

Ummmm...your response didn't help, not did it answer all inquires. All I can suggest is to reset OpenWrt to defaults and try again.

I think I've previously had issues trying to specify an interface for SSH (particularly to a bridged VLAN); but I cannot find the thread at this time. Nonetheless, the firewall only permits input to the router (including SSH) - from LAN by default. I suggest leaving it set to "unspecified".

:warning: You will need to remove the old SSH key from the client when you reset the router - you can safely ignore the security warning, follow its instruction to remove the old key and re-consent yes to the new key.

1 Like

Sorry my post wasn't clear, the only thing I did was go into Admin -> SSH and change the settings shown.

I just reset my openwrt and...

❯ ssh root@192.168.1.1
The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established.
RSA key fingerprint is SHA256:BamdQTdEEpef9F3Bfv86SuGkkhvt3wRWZGjKbIxs7As.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.1.1' (RSA) to the list of known hosts.
ash: tic: not found
Connection to 192.168.1.1 closed.

So the same thing, must be an issue with the image I guess.

wanna try again?

incorrect :face_with_raised_eyebrow:

2 Likes

Reset/fix your SSH configuration and/or shell profile.

5 Likes

Download a fresh copy of Putty and ssh to the device.

That did it. I must have security requirements in place that busybox/dropbear is unable to fulfill. This did the trick, thanks.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.