You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2025/03/11 11:02:00 UTC

[jira] [Commented] (KAFKA-18960) the default type of ssh key used by vagrant is disabled by OpenSSH 8.8

    [ https://issues.apache.org/jira/browse/KAFKA-18960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17934183#comment-17934183 ] 

Chia-Ping Tsai commented on KAFKA-18960:
----------------------------------------

we can update the ubuntu version used by Vagrant from trusty64 to jammy64, allowing Vagrant use other key type by default. Or we can configure Vagrantfile with "config.ssh.key_type = :ed25519" to explicitly use other acceptable key type

> the default type of ssh key used by vagrant is disabled by OpenSSH 8.8
> ----------------------------------------------------------------------
>
>                 Key: KAFKA-18960
>                 URL: https://issues.apache.org/jira/browse/KAFKA-18960
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Major
>
> The default SSH key type used by the agent is RSA, which has been disabled by OpenSSH 8.8 [0]. This results in issues (see following log) on modern distributions, as their OpenSSH versions typically exceed 8.8
> {code:java}
>     self._set_ssh_client()
>   File "/home/tjwu/kafka/tests/venv/lib/python3.10/site-packages/ducktape/cluster/remoteaccount.py", line 35, in wrapper
>     return method(self, *args, **kwargs)
>   File "/home/tjwu/kafka/tests/venv/lib/python3.10/site-packages/ducktape/cluster/remoteaccount.py", line 189, in _set_ssh_client
>     client.connect(
>   File "/home/tjwu/kafka/tests/venv/lib/python3.10/site-packages/paramiko/client.py", line 439, in connect
>     self._auth(
>   File "/home/tjwu/kafka/tests/venv/lib/python3.10/site-packages/paramiko/client.py", line 770, in _auth
>     raise saved_exception
>   File "/home/tjwu/kafka/tests/venv/lib/python3.10/site-packages/paramiko/client.py", line 706, in _auth
>     self._transport.auth_publickey(username, key)
>   File "/home/tjwu/kafka/tests/venv/lib/python3.10/site-packages/paramiko/transport.py", line 1642, in auth_publickey
>     return self.auth_handler.wait_for_response(my_event)
>   File "/home/tjwu/kafka/tests/venv/lib/python3.10/site-packages/paramiko/auth_handler.py", line 259, in wait_for_response
>     raise e
> paramiko.ssh_exception.AuthenticationException: Authentication failed.
> {code}
> [0] https://www.openssh.com/txt/release-8.8



--
This message was sent by Atlassian Jira
(v8.20.10#820010)