Results 1 to 1 of 1
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 ...
- 02-10-2008 #1Linux Newbie
- Join Date
- Oct 2006
- Posts
- 101
execute a command over ssh and stay
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:
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?Code:ssh user@host screen -r irc
--Erik


Reply With Quote
