<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal" style="margin-bottom:12.0pt">Classification: <b><span style="color:#08298A">HCL Internal</span></b><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thanks George for your response<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><a name="_____replyseparator"></a><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> George Keishing <gkeishin@in.ibm.com>
<br>
<b>Sent:</b> Monday, October 5, 2020 2:59 PM<br>
<b>To:</b> Jayashree D <jayashree-d@hcl.com><br>
<b>Cc:</b> geissonator@yahoo.com; Konstantin Klubnichkin <kitsok@yandex-team.ru>; openbmc@lists.ozlabs.org; openbmc <openbmc-bounces+gkeishin=in.ibm.com@lists.ozlabs.org>; Vijay Khemka <vijaykhemka@fb.com><br>
<b>Subject:</b> RE: Connection issue in OpenBMC image<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:12.0pt;background:#FFEB9C">
<span style="font-size:10.0pt;color:red">[CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don’t click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.]</span><o:p></o:p></p>
<div>
<p><span style="font-size:10.0pt">Jayashree,</span><br>
<br>
<span style="font-size:10.0pt">Couple places where it checks for the SSH to BMC and SOL as well, that should catch those in your HW test CI environment</span><br>
<br>
<span style="font-size:10.0pt">Example:</span><br>
<br>
<a href="https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fopenbmc-test-automation%2Fblob%2Fmaster%2Ftest_lists%2FHW_CI%23L2&data=02%7C01%7Cjayashree-d%40hcl.com%7C64f6c97be1904d2aed5708d8691120e7%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637374869600088649&sdata=%2BW2M%2BGilWGr4fr2Y2cf1Gcu8wD1A52kACVgQwtBSfIk%3D&reserved=0"><span style="font-size:10.0pt">https://github.com/openbmc/openbmc-test-automation/blob/master/test_lists/HW_CI#L2</span></a><br>
<span style="font-family:Consolas;color:#24292E">Test_SSH_And_IPMI_Connections</span>
<br>
<br>
<a href="https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fopenbmc-test-automation%2Fblob%2Fmaster%2Ftest_lists%2FHW_CI%23L4&data=02%7C01%7Cjayashree-d%40hcl.com%7C64f6c97be1904d2aed5708d8691120e7%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637374869600088649&sdata=3ZkmIRjTlJsYfbXbJp6GDhwTyhfDw9xasQm3YLlF6wk%3D&reserved=0"><span style="font-size:10.0pt">https://github.com/openbmc/openbmc-test-automation/blob/master/test_lists/HW_CI#L4</span></a><br>
<span style="font-family:Consolas;color:#24292E">-i Verify_Redfish_Host_PowerOn</span>
<br>
<span style="font-family:Consolas;color:#24292E">-i Verify_Redfish_Host_PowerOff</span>
<br>
<span style="font-size:10.0pt"><br>
Here SOL connection done as part of the above setup/teardown<br>
</span><a href="https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fopenbmc-test-automation%2Fblob%2Fmaster%2Fredfish%2Fsystems%2Ftest_power_operations.robot%23L87&data=02%7C01%7Cjayashree-d%40hcl.com%7C64f6c97be1904d2aed5708d8691120e7%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637374869600098644&sdata=WmmJ2jAOxle7QpHlilGDxA5HCCJJ%2FnL2Y2LfwzJ4GOs%3D&reserved=0"><span style="font-size:10.0pt">https://github.com/openbmc/openbmc-test-automation/blob/master/redfish/systems/test_power_operations.robot#L87</span></a><br>
<a href="https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fopenbmc-test-automation%2Fblob%2Fmaster%2Fredfish%2Fsystems%2Ftest_power_operations.robot%23L95&data=02%7C01%7Cjayashree-d%40hcl.com%7C64f6c97be1904d2aed5708d8691120e7%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637374869600098644&sdata=g9axW5ZxosCo1sV7RHPYl%2FvhXMFZUBwmzd3BV0Moti4%3D&reserved=0"><span style="font-size:10.0pt">https://github.com/openbmc/openbmc-test-automation/blob/master/redfish/systems/test_power_operations.robot#L95</span></a><span style="font-size:10.0pt"><br>
<br>
</span><br>
<span style="font-size:10.0pt">Those tests are currently running in upstream community HW Jenkins test CI. So it would have caught those SSH related for generic ports in general and you can use similar in your environment.</span><br>
<br>
<b><span style="font-size:10.0pt;color:blue">Thanks and Regards,</span></b><br>
<span style="font-size:10.0pt;color:blue">George Keishing</span><br>
<br>
<br>
<br>
<img border="0" width="16" height="16" style="width:.1666in;height:.1666in" id="_x0000_i1025" src="cid:image001.gif@01D69BC6.6C6BEAD0" alt="Inactive hide details for Jayashree D ---05-10-2020 02:09:58 PM---Classification: HCL Internal Regarding SSH connection, an iss"><span style="font-size:10.0pt;color:#424282">Jayashree
 D ---05-10-2020 02:09:58 PM---Classification: HCL Internal Regarding SSH connection, an issue has been created in openbmc and I al</span><br>
<br>
<span style="font-size:10.0pt;color:#5F5F5F">From: </span><span style="font-size:10.0pt">Jayashree D <<a href="mailto:jayashree-d@hcl.com">jayashree-d@hcl.com</a>></span><br>
<span style="font-size:10.0pt;color:#5F5F5F">To: </span><span style="font-size:10.0pt">"<a href="mailto:openbmc@lists.ozlabs.org">openbmc@lists.ozlabs.org</a>" <<a href="mailto:openbmc@lists.ozlabs.org">openbmc@lists.ozlabs.org</a>></span><br>
<span style="font-size:10.0pt;color:#5F5F5F">Cc: </span><span style="font-size:10.0pt">George Keishing <<a href="mailto:gkeishin@in.ibm.com">gkeishin@in.ibm.com</a>>, "<a href="mailto:geissonator@yahoo.com">geissonator@yahoo.com</a>" <<a href="mailto:geissonator@yahoo.com">geissonator@yahoo.com</a>>,
 Vijay Khemka <<a href="mailto:vijaykhemka@fb.com">vijaykhemka@fb.com</a>>, Konstantin Klubnichkin <<a href="mailto:kitsok@yandex-team.ru">kitsok@yandex-team.ru</a>></span><br>
<span style="font-size:10.0pt;color:#5F5F5F">Date: </span><span style="font-size:10.0pt">05-10-2020 02:09 PM</span><br>
<span style="font-size:10.0pt;color:#5F5F5F">Subject: </span><span style="font-size:10.0pt">[EXTERNAL] RE: Connection issue in OpenBMC image</span><br>
<span style="font-size:10.0pt;color:#5F5F5F">Sent by: </span><span style="font-size:10.0pt">"openbmc" <<a href="mailto:openbmc-bounces+gkeishin=in.ibm.com@lists.ozlabs.org">openbmc-bounces+gkeishin=in.ibm.com@lists.ozlabs.org</a>></span><o:p></o:p></p>
<div class="MsoNormal">
<hr size="2" width="100%" noshade="" style="color:#8091A5" align="left">
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<br>
<tt><span style="font-size:10.0pt">Classification: HCL Internal</span></tt><span style="font-size:10.0pt;font-family:"Courier New""><br>
<br>
<tt>Regarding SSH connection, an issue has been created in openbmc and I also see others having this same issue.</tt><br>
<tt>From the comments, I have run "dropbear -E -p 5022" in the target (UART-console) and tried to connect the target using "ssh -p 5022 <ip>" and ssh connection established.</tt><br>
<tt>But, reboot and systemctl commands hangs.</tt><br>
<br>
<tt>Issue - <a href="https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fopenbmc%2Fissues%2F3701&data=02%7C01%7Cjayashree-d%40hcl.com%7C64f6c97be1904d2aed5708d8691120e7%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637374869600098644&sdata=AY3Z3cuIjzdEPM0%2Bxf92%2BYKUGpP1qNms7PnF3rDERK0%3D&reserved=0">
https://github.com/openbmc/openbmc/issues/3701</a> </tt><br>
<br>
<tt>root@tiogapass:~# dropbear -E -p 5022</tt><br>
<tt>[348] Jan 01 00:06:48 Failed loading /etc/dropbear/dropbear_dss_host_key</tt><br>
<tt>[348] Jan 01 00:06:48 Failed loading /etc/dropbear/dropbear_ecdsa_host_key</tt><br>
<tt>[348] Jan 01 00:06:48 Failed loading /etc/dropbear/dropbear_ed25519_host_key</tt><br>
<tt>[349] Jan 01 00:06:48 Running in background</tt><br>
<br>
<tt>[root@odc ~]# ssh -p 5022 <a href="mailto:root@10.0.128.108">root@10.0.128.108</a>
<a href="mailto:root@10.0.128.108's">root@10.0.128.108's</a> password:</tt><br>
<tt>root@tiogapass:~#</tt><br>
<br>
<tt>Hi George,</tt><br>
<br>
<tt>We are facing connection issue in accessing the target after flashing the latest image.</tt><br>
<tt>In openbmc-test-automation, whether any test cases are present in CI to identify these issues ?</tt><br>
<tt>Please let us know your comments on this.</tt><br>
<br>
<tt>Regards,</tt><br>
<tt>Jayashree</tt><br>
<br>
<tt>-----Original Message-----</tt><br>
<tt>From: Jayashree D</tt><br>
<tt>Sent: Friday, September 25, 2020 10:29 AM</tt><br>
<tt>To: <a href="mailto:openbmc@lists.ozlabs.org">openbmc@lists.ozlabs.org</a></tt><br>
<tt>Cc: Konstantin Klubnichkin <<a href="mailto:kitsok@yandex-team.ru">kitsok@yandex-team.ru</a>>; Vijay Khemka <<a href="mailto:vijaykhemka@fb.com">vijaykhemka@fb.com</a>>;
<a href="mailto:geissonator@yahoo.com">geissonator@yahoo.com</a>; <a href="mailto:joel@jms.id.au">
joel@jms.id.au</a>; Patrick Williams <<a href="mailto:patrick@stwcx.xyz">patrick@stwcx.xyz</a>></tt><br>
<tt>Subject: RE: Connection issue in OpenBMC image</tt><br>
<br>
<tt>Classification: HCL Internal</tt><br>
<br>
<tt>Hi Team,</tt><br>
<br>
<tt>In the latest openbmc build, after image upgradation in the target, not able to connect the target through SSH but able to ping the IP Address.</tt><br>
<br>
<tt>After analysing the latest commits, reverted the below commit in the latest build and checked by flashing the image. Now the target is connecting through SSH. Please help us on fixing this issue.</tt><br>
<br>
<tt>Commit Link - <a href="https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fopenbmc%2Fcommit%2F635e0e4637e40ba03f69204265427550fd404f4c&data=02%7C01%7Cjayashree-d%40hcl.com%7C64f6c97be1904d2aed5708d8691120e7%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637374869600108639&sdata=BoRXm8TvcInthY6i4ZfU0p%2BM59Hqwvhx8tPIUbGpIMA%3D&reserved=0">
https://github.com/openbmc/openbmc/commit/635e0e4637e40ba03f69204265427550fd404f4c</a> </tt><br>
<br>
<br>
<tt>Observation on UART-console after flashing latest image without any changes:</tt><br>
<br>
<tt>1. reboot command is not working.</tt><br>
<tt>2. systemctl status <service_name> is not providing any status. ( Failed to get properties: Connection timed out) 3. I tried "ssh -vvv <ip>" and logs are attached for working and non-working image.</tt><br>
<tt>4. From controller, I tried to upgrade image using redfish and image is being copied and following logs shown.</tt><br>
<tt>root@tiogapass:~# journalctl | grep image Jan 01 00:00:37 tiogapass phosphor-image-updater[246]: Error in mapper GetSubTreePath Jan 01 10:43:59 tiogapass phosphor-image-updater[246]: BMC image activating - BMC reboots are disabled.</tt><br>
<br>
<tt>5. Using Rest API command,</tt><br>
<br>
<tt>[root@odc ]# curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X PUT -d '{"data":"xyz.openbmc_project.Software.Activation.RequestedActivations.Active"}'
<a href="https://$%7Bbmc%7D/xyz/openbmc_project/software/a77348be/attr/RequestedActivation">
https://$%7Bbmc%7D/xyz/openbmc_project/software/a77348be/attr/RequestedActivation</a> </tt><br>
<tt>{</tt><br>
<tt> "data": {</tt><br>
<tt>   "description": "org.freedesktop.DBus.Error.NoReply"</tt><br>
<tt> },</tt><br>
<tt> "message": "Method call timed out",</tt><br>
<tt> "status": "error"</tt><br>
<tt>}</tt><br>
<br>
<br>
<tt>Regards,</tt><br>
<tt>Jayashree</tt><br>
<br>
<tt>-----Original Message-----</tt><br>
<tt>From: Jayashree D</tt><br>
<tt>Sent: Friday, September 18, 2020 3:18 PM</tt><br>
<tt>To: Patrick Williams <<a href="mailto:patrick@stwcx.xyz">patrick@stwcx.xyz</a>>;
<a href="mailto:openbmc@lists.ozlabs.org">openbmc@lists.ozlabs.org</a></tt><br>
<tt>Cc: Konstantin Klubnichkin <<a href="mailto:kitsok@yandex-team.ru">kitsok@yandex-team.ru</a>></tt><br>
<tt>Subject: RE: Connection issue in OpenBMC image</tt><br>
<br>
<tt>Classification: HCL Internal</tt><br>
<br>
<tt>Hello Patrick,</tt><br>
<br>
<tt>I saw the post about dropbear, but that commit was updated on July16 and my target is connecting till August last week image. I don't think that will be an issue. Also on working image, I tried with 'ssh -vvv ' and I got below information.</tt><br>
<br>
<tt>OpenSSH_7.4p1, OpenSSL 1.0.2k-fips  26 Jan 2017</tt><br>
<tt>debug1: Reading configuration data /etc/ssh/ssh_config</tt><br>
<tt>debug1: /etc/ssh/ssh_config line 58: Applying options for *</tt><br>
<tt>debug2: resolving "10.0.128.108" port 22</tt><br>
<tt>debug2: ssh_connect_direct: needpriv 0</tt><br>
<tt>debug1: Connecting to 10.0.128.108 [10.0.128.108] port 22.</tt><br>
<tt>debug1: Connection established.</tt><br>
<tt>debug1: permanently_set_uid: 0/0</tt><br>
<tt>debug1: key_load_public: No such file or directory</tt><br>
<tt>debug1: identity file /root/.ssh/id_rsa type -1</tt><br>
<tt>debug1: key_load_public: No such file or directory</tt><br>
<tt>debug1: identity file /root/.ssh/id_rsa-cert type -1</tt><br>
<tt>debug1: key_load_public: No such file or directory</tt><br>
<tt>debug1: identity file /root/.ssh/id_dsa type -1</tt><br>
<tt>debug1: key_load_public: No such file or directory</tt><br>
<tt>debug1: identity file /root/.ssh/id_dsa-cert type -1</tt><br>
<tt>debug1: key_load_public: No such file or directory</tt><br>
<tt>debug1: identity file /root/.ssh/id_ecdsa type -1</tt><br>
<tt>debug1: key_load_public: No such file or directory</tt><br>
<tt>debug1: identity file /root/.ssh/id_ecdsa-cert type -1</tt><br>
<tt>debug1: key_load_public: No such file or directory</tt><br>
<tt>debug1: identity file /root/.ssh/id_ed25519 type -1</tt><br>
<tt>debug1: key_load_public: No such file or directory</tt><br>
<tt>debug1: identity file /root/.ssh/id_ed25519-cert type -1</tt><br>
<tt>debug1: Enabling compatibility mode for protocol 2.0</tt><br>
<tt>debug1: Local version string SSH-2.0-OpenSSH_7.4</tt><br>
<tt>debug1: Remote protocol version 2.0, remote software version dropbear_2020.80</tt><br>
<tt>debug1: no match: dropbear_2020.80</tt><br>
<tt>debug2: fd 3 setting O_NONBLOCK</tt><br>
<tt>debug1: Authenticating to 10.0.128.108:22 as 'root'</tt><br>
<tt>debug3: hostkeys_foreach: reading file "/root/.ssh/known_hosts"</tt><br>
<tt>debug3: record_hostkey: found key type RSA in file /root/.ssh/known_hosts:68</tt><br>
<tt>debug3: load_hostkeys: loaded 1 keys from 10.0.128.108</tt><br>
<tt>debug3: order_hostkeyalgs: prefer hostkeyalgs: <a href="mailto:ssh-rsa-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa">
ssh-rsa-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa</a></tt><br>
<tt>debug3: send packet: type 20</tt><br>
<tt>debug1: SSH2_MSG_KEXINIT sent</tt><br>
<tt>debug3: receive packet: type 20</tt><br>
<tt>debug1: SSH2_MSG_KEXINIT received</tt><br>
<tt>debug2: local client KEXINIT proposal</tt><br>
<tt>debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,ext-info-c</tt><br>
<tt>debug2: host key algorithms: <a href="mailto:ssh-rsa-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,ssh-dss">
ssh-rsa-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,ssh-dss</a></tt><br>
<tt>debug2: ciphers ctos: <a href="mailto:chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc">
chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc</a></tt><br>
<tt>debug2: ciphers stoc: <a href="mailto:chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc">
chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc</a></tt><br>
<tt>debug2: MACs ctos: <a href="mailto:umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1">
umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1</a></tt><br>
<tt>debug2: MACs stoc: <a href="mailto:umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1">
umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1</a></tt><br>
<tt>debug2: compression ctos: none,zlib@openssh.com,zlib</tt><br>
<tt>debug2: compression stoc: none,zlib@openssh.com,zlib</tt><br>
<tt>debug2: languages ctos:</tt><br>
<tt>debug2: languages stoc:</tt><br>
<tt>debug2: first_kex_follows 0</tt><br>
<tt>debug2: reserved 0</tt><br>
<tt>debug2: peer server KEXINIT proposal</tt><br>
<tt>debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group14-sha256,kexguess2@matt.ucc.asn.au</tt><br>
<tt>debug2: host key algorithms: rsa-sha2-256,ssh-rsa</tt><br>
<tt>debug2: ciphers ctos: <a href="mailto:chacha20-poly1305@openssh.com,aes128-ctr,aes256-ctr">
chacha20-poly1305@openssh.com,aes128-ctr,aes256-ctr</a></tt><br>
<tt>debug2: ciphers stoc: <a href="mailto:chacha20-poly1305@openssh.com,aes128-ctr,aes256-ctr">
chacha20-poly1305@openssh.com,aes128-ctr,aes256-ctr</a></tt><br>
<tt>debug2: MACs ctos: hmac-sha1,hmac-sha2-256</tt><br>
<tt>debug2: MACs stoc: hmac-sha1,hmac-sha2-256</tt><br>
<tt>debug2: compression ctos: <a href="mailto:zlib@openssh.com,none">zlib@openssh.com,none</a></tt><br>
<tt>debug2: compression stoc: <a href="mailto:zlib@openssh.com,none">zlib@openssh.com,none</a></tt><br>
<tt>debug2: languages ctos:</tt><br>
<tt>debug2: languages stoc:</tt><br>
<tt>debug2: first_kex_follows 0</tt><br>
<tt>debug2: reserved 0</tt><br>
<tt>debug1: kex: algorithm: curve25519-sha256</tt><br>
<tt>debug1: kex: host key algorithm: rsa-sha2-256</tt><br>
<tt>debug1: kex: server->client cipher: <a href="mailto:chacha20-poly1305@openssh.com">
chacha20-poly1305@openssh.com</a> MAC: <implicit> compression: none</tt><br>
<tt>debug1: kex: client->server cipher: <a href="mailto:chacha20-poly1305@openssh.com">
chacha20-poly1305@openssh.com</a> MAC: <implicit> compression: none</tt><br>
<tt>debug1: kex: curve25519-sha256 need=64 dh_need=64</tt><br>
<tt>debug1: kex: curve25519-sha256 need=64 dh_need=64</tt><br>
<tt>debug3: send packet: type 30</tt><br>
<tt>debug1: expecting SSH2_MSG_KEX_ECDH_REPLY</tt><br>
<tt>debug3: receive packet: type 31</tt><br>
<tt>debug1: Server host key: ssh-rsa SHA256:3WwhPmIIxzrw0+cm/0vN3hifY4kh9sJhClVNw6zrJ7Y</tt><br>
<tt>debug3: hostkeys_foreach: reading file "/root/.ssh/known_hosts"</tt><br>
<tt>debug3: record_hostkey: found key type RSA in file /root/.ssh/known_hosts:68</tt><br>
<tt>debug3: load_hostkeys: loaded 1 keys from 10.0.128.108</tt><br>
<tt>debug1: Host '10.0.128.108' is known and matches the RSA host key.</tt><br>
<tt>debug1: Found key in /root/.ssh/known_hosts:68</tt><br>
<tt>debug3: send packet: type 21</tt><br>
<tt>debug2: set_newkeys: mode 1</tt><br>
<tt>debug1: rekey after 134217728 blocks</tt><br>
<tt>debug1: SSH2_MSG_NEWKEYS sent</tt><br>
<tt>debug1: expecting SSH2_MSG_NEWKEYS</tt><br>
<tt>debug3: receive packet: type 21</tt><br>
<tt>debug1: SSH2_MSG_NEWKEYS received</tt><br>
<tt>debug2: set_newkeys: mode 0</tt><br>
<tt>debug1: rekey after 134217728 blocks</tt><br>
<tt>debug2: key: /root/.ssh/id_rsa (0x558ea3ad3640), agent</tt><br>
<tt>debug2: key: /root/.ssh/id_rsa ((nil))</tt><br>
<tt>debug2: key: /root/.ssh/id_dsa ((nil))</tt><br>
<tt>debug2: key: /root/.ssh/id_ecdsa ((nil))</tt><br>
<tt>debug2: key: /root/.ssh/id_ed25519 ((nil))</tt><br>
<tt>debug3: send packet: type 5</tt><br>
<tt>debug3: receive packet: type 7</tt><br>
<tt>debug1: SSH2_MSG_EXT_INFO received</tt><br>
<tt>debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-256,ssh-rsa,ssh-dss></tt><br>
<tt>debug3: receive packet: type 6</tt><br>
<tt>debug2: service_accept: ssh-userauth</tt><br>
<tt>debug1: SSH2_MSG_SERVICE_ACCEPT received</tt><br>
<tt>debug3: send packet: type 50</tt><br>
<tt>debug3: receive packet: type 51</tt><br>
<tt>debug1: Authentications that can continue: publickey,password</tt><br>
<tt>debug3: start over, passed a different list publickey,password</tt><br>
<tt>debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password</tt><br>
<tt>debug3: authmethod_lookup publickey</tt><br>
<tt>debug3: remaining preferred: keyboard-interactive,password</tt><br>
<tt>debug3: authmethod_is_enabled publickey</tt><br>
<tt>debug1: Next authentication method: publickey</tt><br>
<tt>debug1: Offering RSA public key: /root/.ssh/id_rsa</tt><br>
<tt>debug3: send_pubkey_test</tt><br>
<tt>debug3: send packet: type 50</tt><br>
<tt>debug2: we sent a publickey packet, wait for reply</tt><br>
<tt>debug3: receive packet: type 51</tt><br>
<tt>debug1: Authentications that can continue: publickey,password</tt><br>
<tt>debug1: Trying private key: /root/.ssh/id_rsa</tt><br>
<tt>debug3: sign_and_send_pubkey: RSA SHA256:YfteufmWUV8W7EQEycZ+38skgUWGDTYFHw93a7SwwLM</tt><br>
<tt>debug3: send packet: type 50</tt><br>
<tt>debug2: we sent a publickey packet, wait for reply</tt><br>
<tt>debug3: receive packet: type 51</tt><br>
<tt>debug1: Authentications that can continue: publickey,password</tt><br>
<tt>debug1: Trying private key: /root/.ssh/id_dsa</tt><br>
<tt>debug3: no such identity: /root/.ssh/id_dsa: No such file or directory</tt><br>
<tt>debug1: Trying private key: /root/.ssh/id_ecdsa</tt><br>
<tt>debug3: no such identity: /root/.ssh/id_ecdsa: No such file or directory</tt><br>
<tt>debug1: Trying private key: /root/.ssh/id_ed25519</tt><br>
<tt>debug3: no such identity: /root/.ssh/id_ed25519: No such file or directory</tt><br>
<tt>debug2: we did not send a packet, disable method</tt><br>
<tt>debug3: authmethod_lookup password</tt><br>
<tt>debug3: remaining preferred: ,password</tt><br>
<tt>debug3: authmethod_is_enabled password</tt><br>
<tt>debug1: Next authentication method: password</tt><br>
<br>
<br>
<tt>In non-working image, the logs are stopped after below lines and it is not providing any errors.</tt><br>
<br>
<tt>debug1: Enabling compatibility mode for protocol 2.0</tt><br>
<tt>debug1: Local version string SSH-2.0-OpenSSH_7.4</tt><br>
<br>
<tt>Also one more observation in UART-Console, after flashing latest image.</tt><br>
<br>
<tt>1. reboot command is not working.</tt><br>
<tt>2. systemctl status <service_name> is not providing any status. ( Failed to get properties: Connection timed out) 3. I can able to ping the ip address but scp is not working.</tt><br>
<br>
<tt>Thanks,</tt><br>
<tt>Jayashree</tt><br>
<br>
<br>
<tt>-----Original Message-----</tt><br>
<tt>From: Patrick Williams <<a href="mailto:patrick@stwcx.xyz">patrick@stwcx.xyz</a>></tt><br>
<tt>Sent: Thursday, September 17, 2020 9:16 PM</tt><br>
<tt>To: Jayashree D <<a href="mailto:jayashree-d@hcl.com">jayashree-d@hcl.com</a>></tt><br>
<tt>Cc: Konstantin Klubnichkin <<a href="mailto:kitsok@yandex-team.ru">kitsok@yandex-team.ru</a>>;
<a href="mailto:openbmc@lists.ozlabs.org">openbmc@lists.ozlabs.org</a></tt><br>
<tt>Subject: Re: Connection issue in OpenBMC image</tt><br>
<br>
<tt>Hello Jayashree,</tt><br>
<br>
<tt>I saw an output `ssh -v` from you earlier, but there really wasn't any useful information there.  It looked like the connection was being made and keys were exchanged and then the log just stopped abruptly.  This tells me it likely isn't a networking issue
 but an issue in the handshake between the ssh-client (your computer) and ssh-server (dropbear).  You can continue to add '-v' parameters up to `ssh -vvv` and you'll get increasingly more information.</tt><br>
<br>
<tt>Joseph Reynolds recently posted a reminder about dropbear disabling weak ciphers[1].  Is it possible that your client is using an old cipher?</tt><br>
<br>
<tt>On Wed, Sep 16, 2020 at 11:35:28AM +0000, Jayashree D wrote:</tt><br>
<tt>> root@tiogapass:~# journalctl | grep drop</tt><br>
<tt>...</tt><br>
<tt>> Jan 01 00:15:28 tiogapass systemd[1]: <a href="mailto:dropbear@0-10.0.128.108:22-10.0.0.1:51810.service">
dropbear@0-10.0.128.108:22-10.0.0.1:51810.service</a>: Succeeded.</tt><br>
<tt>> Jan 01 00:15:44 tiogapass dropbear[2753]: Child connection from</tt><br>
<tt>> ::ffff:10.0.0.1:51944 Jan 01 00:15:50 tiogapass dropbear[2753]: PAM</tt><br>
<tt>> password auth succeeded for 'root' from ::ffff:10.0.0.1:51944</tt><br>
<br>
<tt>This looks like a valid connection was established.</tt><br>
<br>
<tt>> 15.09.2020, 16:12, "Jayashree D" <jayashree-d@hcl.com<<a href="mailto:jayashree-d@hcl.com">mailto:jayashree-d@hcl.com</a>>>:</tt><br>
<tt>></tt><br>
<tt>> OpenSSH_7.4p1, OpenSSL 1.0.2k-fips  26 Jan 2017</tt><br>
<tt>> debug1: Reading configuration data /etc/ssh/ssh_config</tt><br>
<tt>> debug1: /etc/ssh/ssh_config line 58: Applying options for *</tt><br>
<tt>> debug1: Connecting to 10.0.128.108 [10.0.128.108] port 22.</tt><br>
<tt>> debug1: Connection established.</tt><br>
<tt>> debug1: permanently_set_uid: 0/0</tt><br>
<tt>> debug1: key_load_public: No such file or directory</tt><br>
<tt>> debug1: identity file /root/.ssh/id_rsa type -1</tt><br>
<tt>> debug1: key_load_public: No such file or directory</tt><br>
<tt>> debug1: identity file /root/.ssh/id_rsa-cert type -1</tt><br>
<tt>> debug1: key_load_public: No such file or directory</tt><br>
<tt>> debug1: identity file /root/.ssh/id_dsa type -1</tt><br>
<tt>> debug1: key_load_public: No such file or directory</tt><br>
<tt>> debug1: identity file /root/.ssh/id_dsa-cert type -1</tt><br>
<tt>> debug1: key_load_public: No such file or directory</tt><br>
<tt>> debug1: identity file /root/.ssh/id_ecdsa type -1</tt><br>
<tt>> debug1: key_load_public: No such file or directory</tt><br>
<tt>> debug1: identity file /root/.ssh/id_ecdsa-cert type -1</tt><br>
<tt>> debug1: key_load_public: No such file or directory</tt><br>
<tt>> debug1: identity file /root/.ssh/id_ed25519 type -1</tt><br>
<tt>> debug1: key_load_public: No such file or directory</tt><br>
<tt>> debug1: identity file /root/.ssh/id_ed25519-cert type -1</tt><br>
<tt>> debug1: Enabling compatibility mode for protocol 2.0</tt><br>
<tt>> debug1: Local version string SSH-2.0-OpenSSH_7.4</tt><br>
<br>
<tt>This is the log that also looks like a good connection.  Identity files were attempted to be exchanged.  Version strings were exchanged.  And then the log just abruptly stops.  Was the connection dropped?  Is it hung?</tt><br>
<br>
<tt>1. <a href="https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.ozlabs.org%2Fpipermail%2Fopenbmc%2F2020-September%2F023071.html&data=02%7C01%7Cjayashree-d%40hcl.com%7C64f6c97be1904d2aed5708d8691120e7%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637374869600108639&sdata=f42d0%2Bc4ayGr89StD9ws7HdEtO5UT%2F%2BnSZYNh%2BRgqGY%3D&reserved=0">
https://lists.ozlabs.org/pipermail/openbmc/2020-September/023071.html</a> </tt><br>
<br>
<tt>--</tt><br>
<tt>Patrick Williams</tt><br>
<tt>::DISCLAIMER::</tt><br>
<tt>________________________________</tt><br>
<tt>The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late
 or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are
 solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written
 consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.</tt><br>
<tt>________________________________</tt><br>
<br>
</span><br>
<br>
<o:p></o:p></p>
</div>
</div>
</body>
</html>