Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • You have to know how the command tests its output file descriptor and somehow return results consistent with the results that would be seen from an output terminal. Commented Dec 16, 2015 at 15:11
  • Nice question. I think it could be useful to also mention the MySQL client that does not support an "enable interactive mode". So you cannot run "ssh example.com mysql" with interaction. Commented Dec 1, 2022 at 16:20
  • 1
    @ValerioBozz: ssh has the -t option (force pseudo-terminal allocation) exactly for that use case scenario. It also has the -tt option to force tty allocation, even if ssh has no local tty (which means you never need unbuffer on the remote side). Commented Dec 2, 2022 at 9:36