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

an error occurred forwarding 2222 #14

Closed
FoghostCn opened this issue Aug 14, 2019 · 2 comments
Closed

an error occurred forwarding 2222 #14

FoghostCn opened this issue Aug 14, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@FoghostCn
Copy link

Describe the bug
A clear and concise description of what the bug is.

an error occurred forwarding 2222
Log
please add -d to debug log

6:29PM INF Client address 10.252.154.90
6:29PM INF Shadow is ready.
Forwarding from 127.0.0.1:2222 -> 22
Forwarding from [::1]:2222 -> 22
Handling connection for 2222
E0814 18:29:15.441716   22741 portforward.go:400] an error occurred forwarding 2222 -> 22: error forwarding port 22 to pod d36cd49708faf80b96ef3ff70e844d0fc439293276dc367927973711bc31aa2b, uid : unable to do port forwarding: socat not found.
ssh_exchange_identification: Connection closed by remote host
client: fatal: failed to establish ssh session (1)
E0814 18:30:05.450612   22741 portforward.go:233] lost connection to pod

Environment (please complete the following information):

  • OS: MacOS
  • Kubernetes: v1.12.4
  • KT Version: 0.0.5

Additional context
Add any other context about the problem here.

@FoghostCn FoghostCn added the enhancement New feature or request label Aug 14, 2019
@FoghostCn
Copy link
Author

FoghostCn commented Aug 14, 2019

I'v installed socat, not work

@yunlzheng
Copy link
Collaborator

unable to do port forwarding: socat not found.
ssh_exchange_identification: Connection closed by remote host

manually install socat on each node

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

No branches or pull requests

2 participants