Closed clay584 closed 4 months ago
mscp uses libssh, which parses and applies ssh_config.
+ALGO
notation in ssh_config is supported by this commit in libssh, but it is not included in the libssh stable-0.10 branch, which mscp is based on. I'm not sure why the commit hasn't been included, but as a result, +ssh-rsa
is not supported at the moment.
Instead, HostKeyAlgorithms ssh-rsa
will work as intended.
The next release of libssh will include the commit, so a future version of mscp adopting it will (automatically) accept the +ALGO notation.
When trying to connect to an embedded device running dropbear sshd, I get a host key algo error.
Here is my ssh config file at
~/.ssh/config
Expected behavior:
mscp should respect the ssh config file and use the additional hostkey and kex algorithms and connect.
Actual behavior:
Fails to negotiate ssh algos