AAP における ASA デバイスの SSH 鍵交換アルゴリズムの不一致を解決する
Issue
-
Ansible Automation Platform 2.* にアップグレードした後、ユーザーが ASA デバイスの asa_command モジュールを使用しようとすると、SSH 接続に失敗します。
-
接続の試行が失敗して終了し、SSH 接続プロセスが失敗したことを示す以下のエラーメッセージが表示されます。
... changed": false, "module_stderr": "ssh connection failed: ssh connect failed: kex error : no match for method kex algos: server [diffie-hellman-group1-sha1], client [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1]", "module_stdout": "", "msg": "MODULE FAILURE\\nSee stdout/stderr for the exact error" ...
Environment
-
Ansible Automation Platform2.*
-
SSH 鍵交換に diffie-hellman-group1-sha1 を使用するように設定された ASA デバイス
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.