LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 09-14-2010, 04:21 PM   #1
recomboDNA
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

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

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


Reply


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


All times are GMT -5. The time now is 05:44 AM.

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