SSH-RSA issues

ssh into 300M router from Linux does not work.

I tried:

ssh root@192.168.8.1

I also tried:

ssh -oHostKeyAlgorithms=+ssh-rsa root@192.168.8.1

gives the following error:

Unable to negotiate with 192.168.8.1 port 22: no matching host key type found. Their offer: ssh-rsa

I use OpenSSH_8.8p1, OpenSSL 3.0.9 30 May 2023 on Linux Fedora 37.

ssh -oHostKeyAlgorithms=+ssh-rsa -o "PasswordAuthentication=no" -o "IdentitiesOnly=yes" -i ~/.ssh/id_rsa_-_$myKeyHere (Disregard: Assumes keys already setup.)

Confirmed against a OWRT 19.01 x64 VM fr a Deb 12 VM. Welcome to the world of obsolete SHA1. Update your ~/.ssh/config accordingly.

1 Like
root@deb-vm-01:~# ssh -oHostKeyAlgorithms=+ssh-rsa root@owrt-1907-vm
root@owrt-1907-vm's password:


BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.1, r10911-c155900f66
 -----------------------------------------------------
root@owrt-1907-vm:~#

deb12/openssh-client (1:9.2p1-2) + openssl (3.0.9-1) to owrt/dropbear (2019.78-2)