You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can ssh to it with command ssh -p <port> -i <private-key-path> kitchen@localhost without any issue. And I checked that the container is forwarding the correct port:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
cf4de9be2f97 fb2ef53a9909 "/sbin/init" 14 minutes ago Up 14 minutes 0.0.0.0:49197->22/tcp, :::49197->22/tcp defaultcentos9-
I tried every effort in unsettling ssh-agent or stop it's daemon. None of them work. This issue only happens with Ubuntu 22 or Centos 9. It works well with Ubutnu 18, 20 and Centos 8
Any advice would be helpful, thanks in advance!
The text was updated successfully, but these errors were encountered:
22.04 isn't working because it requires an ECDSA key.
Sep 01 19:14:27 337de265b081 sshd[231]: userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]
Sep 01 19:14:27 337de265b081 sshd[231]: Connection closed by authenticating user kitchen 172.17.0.1 port 62764 [preauth]
🗣️ Foreword
Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.
👻 Brief Description
I am doing kitchen test with docker driver on Ubuntu 22 and Centos 9 platforms but it fails in SSH of kitchen create step.
Version
chef_version=17.10.3
platform=centos
ruby=ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-linux]
program_name=/opt/chef/bin/chef-solo
executable=/opt/chef/bin/chef-solo
Environment
Scenario
The kitchen test fails in
kitchen create
:My kitchen.yml file is as below:
I can ssh to it with command
ssh -p <port> -i <private-key-path> kitchen@localhost
without any issue. And I checked that the container is forwarding the correct port:I tried every effort in unsettling
ssh-agent
or stop it's daemon. None of them work. This issue only happens with Ubuntu 22 or Centos 9. It works well with Ubutnu 18, 20 and Centos 8Any advice would be helpful, thanks in advance!
The text was updated successfully, but these errors were encountered: