Skip to content

[ByteDance project] TDVM cannot ssh "kex_exchange_identification: read: Connection reset by peer Connection reset by 127.0.0.1 port 10022"under Ubuntu24.04 #392

Description

@Joise888

Describe the bug
ssh TDVM show error : ssh -p 10022 root@localhost
kex_exchange_identification: read: Connection reset by peer
Connection reset by 127.0.0.1 port 10022

To Reproduce

  1. setup test server
  2. install ubuntu OS and config source.list
  3. install tdx-tool
  4. ./set_up_host.sh
  5. enable tdx
  6. create TD image
  7. setup TDVM by qemu
  8. ssh guest

user@root:/tdx-main/guest-tools$ ssh -p 10022 root@localhost
kex_exchange_identification: read: Connection reset by peer
Connection reset by 127.0.0.1 port 10022

Expected behavior
expected result: ssh guest successfully
current results : ssh guest fail both use user

System report

Chengdu DVT server--BHS

platform server
config:config5-1
=============System FW info=======
chassis:SC87C11399
MB:SB27C10817-MB:103
CPU:Intel Xeon 6759P-C-1_XCC CPU PP level 1 *2 (SSA7C16540)
Memory:M321R8GA0EB2-CCP,Smsung 64GB 2Rx4(10x4) DDR5-RDIMM-6400 *16(SM37C11538)
NVMe: Samsung MZWL61T9HFLT-00B07 7.68T *4 (SSS7C11546)
NIC:CX623439MS-CDAB_28_100G_OCP *1 (SN37B39029)

====================================
============System FW info=======

    BMC-Base:	   Lenovo_G220-E9_BMC_3.18
BIOS-Base:	Lenovo_G220-E9_BIOS_01.01.04.02.06	01.01.04.02.06
MB CPLD:	Inspur_G220-E3_CPLD_MLB002I2S2P5D320SF_3.2.jed	3.2
2U.2 BP CPLD:	Inspur_G220-E3_HSBP2U2_CPLD_BKP002U2P5S0200000_2.0.jed	2
FAN Board FW:	Inspur_G220-E3_FAN_CPLD_3.5.tar	3.5

U.2 :Samsung MZWL61T9HFLT-00B07 7.68T LDD5702Q *4
NIC: CX623439MS-CDAB_28 22.35.3502
PSU :LITEON PS-2132-11LB 00.01.03 00.01.03

===============================
=========OS====================

OS version	ubuntu24.04	

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions