Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when connecting to older ExtremeXOS switch #80

Closed
cchance27 opened this issue Oct 14, 2023 · 1 comment
Closed

Error when connecting to older ExtremeXOS switch #80

cchance27 opened this issue Oct 14, 2023 · 1 comment

Comments

@cchance27
Copy link
Contributor

cchance27 commented Oct 14, 2023

I've enabled all the deprecated features, but when i use the following connection

        .username(values[4])
        .password(values[5])
        .add_pubkey_algorithms(algorithm::PubKey::SshRsa)
        .add_kex_algorithms(algorithm::Kex::DiffieHellmanGroup1Sha1)
        .add_mac_algortihms(algorithm::Mac::HmacSha1)
        .connect(format!("{}:22", values[3]))
        .expect("Unable to connect to SSH")
        .run_local();

I get the following, which is odd it seems like the server has no response? I can connect to it with old versions of putty.

I think this might be because of an outdated pubkey algorithm that isn't supported "ssh-dss"?

ERROR ssh::config::algorithm: err_msg: "Key_agreement: the signature algorithm fails to match, algorithms supported by the server: ,algorithms supported by the client: rsa-sha2-512,rsa-sha2-256,ssh-rsa"

@HsuJv
Copy link
Collaborator

HsuJv commented Oct 14, 2023

Hi,

ssh-dss is not listed as a supported algorithm currently.
You can bump the log level to "INFO", showing the original cypher list that the server returns.
The error message only shows the after-modifying cypher list, which by design can only list the algorithms we supported.

BRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants