Skip to content

Fix underlying reader not a terminal issues#25102

Merged
Joerger merged 2 commits intomasterfrom
joerger/catch-underlying-reader-not-a-terminal-error
Apr 27, 2023
Merged

Fix underlying reader not a terminal issues#25102
Joerger merged 2 commits intomasterfrom
joerger/catch-underlying-reader-not-a-terminal-error

Conversation

@Joerger
Copy link
Copy Markdown
Contributor

@Joerger Joerger commented Apr 24, 2023

Closes #24810
Closes #24925

@github-actions github-actions Bot requested review from gzdunek and probakowski April 24, 2023 19:59
@github-actions github-actions Bot added size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Apr 24, 2023
Comment thread lib/client/api.go Outdated
@Joerger Joerger force-pushed the joerger/catch-underlying-reader-not-a-terminal-error branch 3 times, most recently from 7028e35 to 2317b78 Compare April 24, 2023 22:44
Comment thread lib/client/api.go
@Joerger Joerger force-pushed the joerger/catch-underlying-reader-not-a-terminal-error branch from 2317b78 to dd7d7e0 Compare April 25, 2023 17:33
Copy link
Copy Markdown
Collaborator

@r0mant r0mant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Joerger Is this ready to go?

@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from gzdunek April 26, 2023 17:01
@Joerger Joerger enabled auto-merge April 26, 2023 17:04
@Joerger Joerger force-pushed the joerger/catch-underlying-reader-not-a-terminal-error branch 5 times, most recently from 3868b27 to 79027b9 Compare April 26, 2023 20:58
* Improve error messages when attempting to login without a terminal

* Skip MOTD acknowledement when logging in without a terminal (headless,
  sso)

* When attempting re-login without a terminal, make a debug log and
  return the original error

* Return access denied error on unexpected handshake failures in tsh
  proxy ssh
@Joerger Joerger force-pushed the joerger/catch-underlying-reader-not-a-terminal-error branch from 67b3f3d to 2d62a0c Compare April 26, 2023 23:49
@Joerger Joerger force-pushed the joerger/catch-underlying-reader-not-a-terminal-error branch from 2d62a0c to db49a53 Compare April 27, 2023 00:05
@Joerger Joerger added this pull request to the merge queue Apr 27, 2023
Merged via the queue into master with commit 1185948 Apr 27, 2023
@Joerger Joerger deleted the joerger/catch-underlying-reader-not-a-terminal-error branch April 27, 2023 00:39
@public-teleport-github-review-bot
Copy link
Copy Markdown

@Joerger See the table below for backport results.

Branch Result
branch/v12 Failed
branch/v13 Create PR

Joerger added a commit that referenced this pull request Apr 27, 2023
* * Use Stderr during headless login to fix rsync compatibility

* Improve error messages when attempting to login without a terminal

* Skip MOTD acknowledement when logging in without a terminal (headless,
  sso)

* When attempting re-login without a terminal, make a debug log and
  return the original error

* Return access denied error on unexpected handshake failures in tsh
  proxy ssh

* Fix TestProxySSH test and add it to the flaky test detector testsToSkip
list.
Joerger added a commit that referenced this pull request Apr 27, 2023
* * Use Stderr during headless login to fix rsync compatibility

* Improve error messages when attempting to login without a terminal

* Skip MOTD acknowledement when logging in without a terminal (headless,
  sso)

* When attempting re-login without a terminal, make a debug log and
  return the original error

* Return access denied error on unexpected handshake failures in tsh
  proxy ssh

* Fix TestProxySSH test and add it to the flaky test detector testsToSkip
list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport.

Projects

None yet

4 participants