Openwrt: I upgrade to latest snapshot, no more ssh

After making a backup on one router

tar -cvf back.tar /etc

and restore to another identical router

cd /
tar -xvf back.tar

no more ssh access!

Even without use of pubkey auth


ssh -o PubkeyAuthentication=no root@router
root@router's password: 
X11 forwarding request failed on channel 0
Connection to router closed.
  • Password?
  • X11?
  • What did you backup?
  • Why are you backing up using this method?
  • Have you used sysupgrade -b
1 Like

Next time I will try the sysupgrade -b method.

Or:

  • Backup Flash /Firmware in the web GUI

Also:

  • Did you edit the configs to change MACs, etc?
  • It's not clear why you're testing another router before you fix the already-identifed issues with your client.
1 Like

I was testing another identical router just for know if support the annex b dsl.

Wait...

  • You have PPPoE?
  • can we see you /etc/config/system and /etc/config/network
  • Why is there X11 - why won't you disable it?
  • Have you tested 24.10.0?
1 Like

No thanks, now I have no problems, I was just testing the router (is a FritzBox 7490 German version) if support the Annex B because I had some doubts that this router don't work (but works fine).
I had only problems with ssh and I have reinstalled from 0.

1 Like

Someone mentioned this in another thread.

Glad you got it working!

1 Like

Also X11 forwarding request is something from the client. If the server does not support X11 that message will be displayed, but it is not a fatal error. A text-based SSH session is still possible.

1 Like

I have tried also with X11 disabled, same thing