Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-13-2008, 07:31 PM   #16
Registered: Aug 2003
Location: Seattle
Distribution: ubuntu, lately
Posts: 182
Blog Entries: 1

Rep: Reputation: 35

yes, that would exit right away. all you're doing is changing directory, which finishes (either successfully or unsuccessfully) and returns. the -f option is for commands more like: 'ssh -f host xterm', where the remote command will remain in a run state for a while, like until you are done with your xterm session.

use screen or nohup
Old 08-13-2008, 07:45 PM   #17
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 220

Original Poster
Rep: Reputation: 32
Originally Posted by maas187 View Post
ok . i get what u saying ..

Lol sorry this is like a chat room for me .

i tried
$ssh -f "cd Folder" ...

but the thing is it runs and exits .. i checked the status with netstat -at ..

i need it to be running all the time ?
EXECELENT ... Worked Pefecly ... thanks man .


rclocal, screen, startup

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
'cannot stat' script in /etc/rc.d/, try to run script at startup quintan Linux - Software 1 11-21-2005 03:53 AM
How to call a script from a system startup script? jonatito Linux - Newbie 7 11-11-2005 10:40 PM
wi-fi startup script Nodren Linux - Wireless Networking 6 05-09-2005 09:56 AM
startup script djinniyah Linux - Newbie 2 09-18-2003 06:07 AM
What's a startup script? Linux - Newbie 1 05-22-2001 04:24 AM > Forums > Linux Forums > Linux - Server

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

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