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

Buffer input while establishing connection #340

Closed
dnnr opened this issue Oct 23, 2012 · 2 comments
Closed

Buffer input while establishing connection #340

dnnr opened this issue Oct 23, 2012 · 2 comments
Labels

Comments

@dnnr
Copy link

dnnr commented Oct 23, 2012

With ssh, I'm used to being able to just start typing my first command right after executing ssh. Establishing the connection usually takes a few seconds, but all keys pressed inbetween will end up on the remote prompt as expected. Mosh, on the other hand, drops those inputs.

It would be great if mosh would allow typing right away just as ssh does.

@achernya
Copy link
Collaborator

In theory, we'd be able to do this by having the ssh process have stdin connected to /dev/null. That way the kernel would buffer your input and it would be available for mosh-client to consume.

However, this has the downside that it would break ssh interactive (i.e., password) authentication, which is a very common use case. I don't think we can support this feature request without either reimplementing the ssh client ourselves, or patches to ssh.

@achernya achernya closed this as not planned Won't fix, can't repro, duplicate, stale Jan 20, 2023
@dnnr
Copy link
Author

dnnr commented Jan 20, 2023

That's sadly a good point. Thanks for taking the time to explain!

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

No branches or pull requests

2 participants