I have an odd predicament. I want to detect on the remote end of an ssh
connection if the client is running the terminal inside a screen
session. I want to set my prompt based on this. So far I have tried
remotehost:~/.ssh/env and the
SendEnv option in my
localhost:~/.ssh/config to send my
$STY variable; but both have
So I was wondering if there is any other way to achieve this?
 This doesn't work since it doesn't evaluate anything, I can't set things up dynamically.
 This requires
AcceptEnv be allowed on the remote end. This is not
possible because I'm not the admin on the remotehost and even if I
man sshd_config advises against it.