A router is configured with DD-WRT and features remote SSH access. A raspberry pi computer (Raspbian) is connected to the router's LAN. Once logged into the router via SSH, attempts to SSH from the router into the pi returns:
ssh: connection to email@example.com:22 exited: no matching algo kex
Shelling into other LAN connected DD-WRT routers from the DD-WRT Gateway is successful.
- What is the cause of the error message and what can be done to enable SSH access?
- What exactly does
no matching algo keximply?
ssh firstname.lastname@example.org -oKexAlgorithms=+diffie-hellman-group1-sha1
WARNING: Ignoring unknown argument '-oKexAlgorithms=+diffie-hellman-group1-sha1' ssh: connection to email@example.com:22 exited: no matching algo kex
user@raspberrypi:~ $ ssh -V
OpenSSH_6.7p1 Raspbian-5+deb8u2, OpenSSL 1.0.1t 3 May 2016
DD-WRT is running dropbear v0.52:
user@DD-WRT:~ $ ssh -V
WARNING: Ignoring unknown argument '-v' Dropbear client v0.52 Usage: ssh [options] [user@]host[/port][,[user@]host/port],...] [command] Options are:
-p -l -t Allocate a pty -T Don't allocate a pty -N Don't run a remote command -f Run in background after auth -y Always accept remote host key if unknown -s Request a subsystem (use for sftp) -i (multiple allowed) -L Local port forwarding -g Allow remote hosts to connect to forwarded ports -R Remote port forwarding -W (default 24576, larger may be faster, max 1MB) -K (0 is never, default 0) -I (0 is never, default 0) -B Netcat-alike forwarding -J Use program pipe rather than TCP connection