Fedora Linux Support Community & Resources Center
  #1  
Old 25th March 2009, 07:22 PM
nsharath Offline
Registered User
 
Join Date: Mar 2009
Posts: 2
Smile doubt in SSH command

Hello sir,
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.
Quote:
$ ssh root@127.0.0.1 'gnome-terminal --command ls'
$ ssh root@127.0.0.1 '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 ???
Reply With Quote
  #2  
Old 25th March 2009, 09:49 PM
Deonis's Avatar
Deonis Offline
Registered User
 
Join Date: May 2008
Location: Montreal
Posts: 198
I would say : ssh root@127.0.0.1 "gnome-terminal --help" )
Reply With Quote
Reply

Tags
command, doubt, ssh

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help, Doubt in Grub. vimod.c.nair Using Fedora 2 20th June 2009 03:45 AM
SSH part two: another doubt. ravellian Servers & Networking 1 4th November 2006 05:23 PM
FC Doubt in install brunoadm Using Fedora 0 31st October 2006 05:52 PM
Doubt brunoadm Using Fedora 1 25th August 2006 09:46 PM
Doubt iptables brunoadm Using Fedora 1 16th August 2005 11:00 PM


Current GMT-time: 03:43 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat