derailed / k9s

🐶 Kubernetes CLI To Manage Your Clusters In Style!
https://k9scli.io
Apache License 2.0
26.76k stars 1.68k forks source link

Can't process command (e.g. :no or :q) when run over ssh #1189

Open paul-bormans opened 3 years ago

paul-bormans commented 3 years ago

Describe the bug k9s is installed on a remote host to which we connect over ssh; actually it's a tunneled ssh connection using gcloud. If we run commands over plain gcloud compute ssh ... it all works fine, but gcloud isn't the frontend ssh tool, instead it's wrapped using Paramiko (ProxyCommand) and when doing so the (10) keystroke somehow isn't accepted in k9s, although on terminal everything seems to arrive perfectly fine on the remote host.

To Reproduce Steps to reproduce the behavior:

  1. k9s install on remote vm/host
  2. connect using gcloud compute ssh
  3. run gcloud in verbose mode to capture the full ProxyCommand
  4. connect using Paramiko providing the ProxyCommand as gateway.

Expected behavior Enter selects/runs the command selected

Screenshots

Versions (please complete the following information):

Additional context Any tips are very welcome!

Volatus commented 3 years ago

@paul-bormans It is noted that K9s usually prefers K8s versions 1.16+. Would it be possible for you to try this on a different cluster?