LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   open an ssh session in a new instance of gnome-terminal? (https://www.linuxquestions.org/questions/programming-9/open-an-ssh-session-in-a-new-instance-of-gnome-terminal-832168/)

recomboDNA 09-14-2010 04:21 PM

open an ssh session in a new instance of gnome-terminal?
 
I have passwordless ssh set up and working properly between two machines. What I would like to do is to call the equivalent of

Code:

gnome-terminal -e ssh user@host
and have that open a new gnome-terminal window with the ssh session in it. What I currently get is a window that opens and closes immediately. Is it even possible to do this?

quanta 09-14-2010 08:49 PM

Try:
Code:

gnome-terminal -e 'ssh user@host'


All times are GMT -5. The time now is 08:42 PM.