hi,

I'm looking to spawn an ssh session and execute a command in one fell swoop. I want to resume a screen session yet keep that session running with something like:

Code:
ssh user@host screen -r irc
but that would only run the command and pop me back to a local shell. Is there a way to keep the ssh session open on the remote machine?