LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-23-2004, 03:56 PM   #1
jdarren
LQ Newbie
 
Registered: Feb 2004
Location: Dothan, Alabama
Posts: 13

Rep: Reputation: 0
ssh to initiate process on remote machine


If I invoke the "ssh user@ip emacs" command, emacs will appear on the local machine. How do I make emacs run and appear on the remote machine using ssh? Obviously it isn't emacs I care about, but the concept is the same. Thanks for any help!
 
Old 03-23-2004, 04:00 PM   #2
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
For programs like daemons and X, they will initiate on the remote machine. All you get on the SSH terminal is the console output. If they are initiated as background processes they will keep running even after you terminate the ssh login. (I use ssh to fire up my homes FTP server when I need it.) As for starting processes that require user input in SSH and running them from the remote machine, why don't you just do it at the remote machine?
 
Old 03-23-2004, 04:09 PM   #3
jdarren
LQ Newbie
 
Registered: Feb 2004
Location: Dothan, Alabama
Posts: 13

Original Poster
Rep: Reputation: 0
why not at remote station

That's a long story, but the need is to semi-automate task start-up on remote systems. If ssh is not the complete answer for start-up, is there some other way?
 
Old 03-23-2004, 05:55 PM   #4
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
You could write a shell script that launches the processes. As far as I know, starting any process in SSH binds the output to the local terminal. Sorry.
 
  


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
Can't SSH to remote machine: Connection closed by remote host Avatar Linux - Networking 34 05-24-2013 09:28 AM
running X applications on remote machine when logged in via ssh servnov Linux - General 1 08-15-2005 08:53 PM
how to open a dilog on local machine when i do ssh to remote machine fahad26 Programming 3 05-03-2005 07:39 PM
script to monitor process on remote machine kencha Linux - Newbie 6 01-07-2005 12:07 PM
ssh not connecting to a remote machine. Eux Debian 5 09-22-2004 04:44 AM


All times are GMT -5. The time now is 06:57 PM.

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