Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 09-14-2010, 04:21 PM   #1
LQ Newbie
Registered: Jun 2008
Distribution: Arch
Posts: 13

Rep: Reputation: 1
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

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?
Old 09-14-2010, 08:49 PM   #2
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
gnome-terminal -e 'ssh user@host'


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to open terminal in GNOME session chakribobby Linux - Newbie 1 09-20-2009 10:09 AM
pressing 'x' in gnome terminal starts new terminal instance Drwfan54 Ubuntu 3 09-26-2006 03:09 PM
Changing environment variable for gnome session from gnome-terminal pymehta Linux - Software 1 10-11-2005 05:19 PM
Start a SSH Session in the Terminal stuartmunro Linux - Newbie 4 06-15-2005 04:23 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration