Ubuntu 10.4: Gnome Terminal with a ssh connection and tail inside a screen as the desktop background
As I wanted to display a tail of my remote’s machine syslog, which is running inside a screen, I modified the call to gnome-terminal accordingly:
gnome-terminal --window-with-profile=DesktopConsole -e 'ssh -t USERNAME@ssh.example.com "screen -rD LOGS"'
If you leave out the „-t” in the call to ssh, screen will provide you with a „Must be connected to a terminal.” error message. ;)