Useful when the remote command expects a terminal.
Section: Basics
Force TTY allocation
bash
bash
ssh -tt user@example.com 'sudo systemctl status nginx'Explanation
Useful when the remote command expects a terminal.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Basics