Im using a FEDORA 9 system. We can invoke the terminal of any user using ssh.
My req. is that I want to open the terminal and see that a command runs in the terminal that is opened. Eg: I want to invoke a terminal and run "ls". instead of typing it after the new terminal opens, I want to send it along with ssh.
$ ssh firstname.lastname@example.org 'gnome-terminal --command ls'
$ ssh email@example.com 'gnome-terminal -e ls'
When I did this, the command is executing and the NEW TERMINAL is getting closed automatically. Can you please tell me what should I do so that I can make the cursor stay in the NEW TERMINAL ???