kraudcloud/cli

kra ssh

Opened this issue · 2 comments

aep commented
kra ssh

kra pod ssh exists (f28a5dc), should we make an alias for kra ssh? The kra command already has a considerable amount of top level commands, for 4 keypresses, I don't think that's worth it.

kra pod ssh has a few issues currently, so I'll use this issue to track them:

  • Improper signal handling: docker handles ^C, ^D etc differently than any regular cli application. We should do the same.
  • We sometimes hang on exit. Probably due to the hacky way we get into a shell in the container after exec. There might be a nice /bin/sh way to do it that handles exiting properly. Needs figuring out.
aep commented

should we make an alias for kra ssh?

dunno. maybe not.
but we need kra pod exec

Improper signal handling: docker handles ^C, ^D etc differently than any regular cli application. We should do the same.

looks like you just forgot to set raw mode?