I want to be able to launch screen sessions on remote servers from a single ssh command on my desktop. However, screen seems to need a terminal, which is not available when running a command through ssh.
So the obvious
ssh firstname.lastname@example.org screen "tail -f /var/log/messages"
(as an example) does not work, and gives
Must be connected to a terminal.
I want ssh to launch the command under a screen so I can log in later and attach as I would to a screen session I would have launched manually.