Skip to content
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

FATA[0000] ssh dial error: ssh: handshake failed: EOF #304

Open
kvelev opened this issue Oct 30, 2024 · 0 comments
Open

FATA[0000] ssh dial error: ssh: handshake failed: EOF #304

kvelev opened this issue Oct 30, 2024 · 0 comments

Comments

@kvelev
Copy link

kvelev commented Oct 30, 2024

Hello, I'm trying to deploy upterm using the helm chart available in this repository and I've run into the following error when I attempt to establish a session.

upterm host --server ssh://upterm-domain.ltd:22 -- bash

FATA[0000] ssh dial error: ssh: handshake failed: EOF   

Upon turning on the debug mode on I can see that the pod is constantly trying to connect to some internal IP:

time="2024-10-30T09:38:32Z" level=debug msg="connection establishing failed" addr="10.0.0.107:53998" app=uptermd com=ssh-proxy error=EOF network=mem network-opt="[]" node-addr="XX.XX.XX.XX:22" ssh-addr="10.0.0.168:22"
time="2024-10-30T09:38:42Z" level=debug msg="connection establishing failed" addr="10.0.0.107:46476" app=uptermd com=ssh-proxy error=EOF network=mem network-opt="[]" node-addr="XX.XX.XX.XX:22" ssh-addr="10.0.0.168:22"
time="2024-10-30T09:38:52Z" level=debug msg="connection establishing failed" addr="10.0.0.107:45770" app=uptermd com=ssh-proxy error=EOF network=mem network-opt="[]" node-addr="XX.XX.XX.XX:22" ssh-addr="10.0.0.168:22"
time="2024-10-30T09:38:52Z" level=debug msg="connection establishing failed" addr="10.0.0.107:45762" app=uptermd com=ssh-proxy error=EOF network=mem network-opt="[]" node-addr="XX.XX.XX.XX:22" ssh-addr="10.0.0.168:22"
time="2024-10-30T09:39:02Z" level=debug msg="connection establishing failed" addr="10.0.0.107:39428" app=uptermd com=ssh-proxy error=EOF network=mem network-opt="[]" node-addr="XX.XX.XX.XX:22" ssh-addr="10.0.0.168:22"
time="2024-10-30T09:39:12Z" level=debug msg="connection establishing failed" addr="10.0.0.107:58034" app=uptermd com=ssh-proxy error=EOF network=mem network-opt="[]" node-addr="XX.XX.XX.XX:22" ssh-addr="10.0.0.168:22"
time="2024-10-30T09:39:12Z" level=debug msg="connection establishing failed" addr="10.0.0.107:58024" app=uptermd com=ssh-proxy error=EOF network=mem network-opt="[]" node-addr="XX.XX.XX.XX:22" ssh-addr="10.0.0.168:22"

I have only 1 upterm pod - 10.0.0.168 and I have also checked - there's no resource with the IP of the addr - 10.0.0.107 - what is this IP? What is the addr value representing in this case? Seems to me the pod is trying to connect to a non-existing resource.

Furthermore, I've noticed that in the helm deployment the node IP is actually the pod IP - why is that?

Also, if I want to use a pub/private key pair that I store in the secret that is used to mount the volume - https://github.com/owenthereal/upterm/blob/master/charts/uptermd/templates/secret.yaml - what should the name of the key be? id_rsa? key?

I'd appreciate some help.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant