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

Prevent Teleport from clearing local terminal #20068

Closed
moisesmejia1200 opened this issue Jan 11, 2023 · 4 comments
Closed

Prevent Teleport from clearing local terminal #20068

moisesmejia1200 opened this issue Jan 11, 2023 · 4 comments
Labels
feature-request Used for new features in Teleport, improvements to current should be #enhancements inactive Items that have gone stale and are likely to be closed.

Comments

@moisesmejia1200
Copy link

What would you like Teleport to do?
Today, after I use tsh ssh to log into a session, when I then exit the session, Teleport clears my terminal screen. I would like to disable this behavior. I would like tsh ssh to leave the output from the session in the terminal window when the session is closed, in the same way that ssh does by default.

What problem does this solve?
It allows us to reference data from previous sessions. For example, if we need to check the IP configuration on a node, we shouldn’t have to leave the session open if we need to copy/paste the IP address elsewhere.

If a workaround exists, please include it.

The only workarounds are in the shell/terminal applications themselves. For example, since I am using iTerm2 on macOS, I can enable the setting “Save scroll buffer when clearing screen”. Not everyone is using this terminal application or has access to the same workaround.

@moisesmejia1200 moisesmejia1200 added the feature-request Used for new features in Teleport, improvements to current should be #enhancements label Jan 11, 2023
@zmb3
Copy link
Collaborator

zmb3 commented Jan 11, 2023

I'm pretty sure it works this way by default and the clearing of the screen is enabled for FIPS mode.

@zmb3
Copy link
Collaborator

zmb3 commented Jan 11, 2023

Yeah, see #6107 and #9767.

@zmb3
Copy link
Collaborator

zmb3 commented Jan 31, 2023

@moisesmejia1200 did I answer your question here?

@zmb3 zmb3 added the inactive Items that have gone stale and are likely to be closed. label Jan 31, 2023
@moisesmejia1200
Copy link
Author

Yes, thank you!

@zmb3 zmb3 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Used for new features in Teleport, improvements to current should be #enhancements inactive Items that have gone stale and are likely to be closed.
Projects
None yet
Development

No branches or pull requests

2 participants