Chia-Ping Tsai created KAFKA-18960:
--------------------------------------

             Summary: 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


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)

Reply via email to