New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSH Connection Failed #3701
Comments
Nearly the same for me. Tested with 73ed7d0 from 2020-09-25 After startup, for some time, the commands There is no dropbear (ssh server) process, but the port 22 is reserved by something (netstat -lt) I can confirm that reverting 635e0e4 solves the problem. |
I guess this is the same as #3697 |
I have run "dropbear -E -p 5022" in the target (UART-console) and tried to connect the target using "ssh -p 5022 " and SSH connection established. root@tiogapass:~# dropbear -E -p 5022 Whether any solution has been identified to resolve this issue? |
I checked why I used strace, and I got the line where it hangs
The ppoll_time64 doesn't return, but on a working system (with the revert of 635e0e4) the same line returns as expected.
|
The socket |
We def ran into some issues downstream with that systemd update. I pushed a change upstream, which is still incoming to the openbmc code base. Pulling it in downstream solved our issues which were somewhat similar to this. May want to try https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/36716. |
I pulled the latest commit c3d88e4 |
Yup, the same as #3697, this issue could be closed. |
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.
While connecting through SSH, it is not responding or throwing any error and tried with "ssh -vvv" command and got the below response.
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 58: Applying options for *
debug1: Connecting to 10.0.128.108 [10.0.128.108] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4
Observation on UART-console after flashing latest image:
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.
Commit Link - - 635e0e4
The text was updated successfully, but these errors were encountered: