Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Starting daemon using ssh |
|---|---|
| Date: | Tue, 2 Nov 2004 08:19:39 +0100 |
Hi! While trying, to start a daemon on a remote machine using ssh, the client doesn't return to the local prompt after performing the start-up of the daemon. I'm using openssh 3.7.1p2, ssh-version 2.0 on Tru64 as the os. The command, I'm executing is the following: ssh -i <KEY> <USER>@<SERVER> "/usr/local/bin/sudo /<PATH>/daemon start && echo 'done' " This results in: - starting daemon - writing 'done' to stdout - nothing else, especially no return to the local prompt But: When I stop the daemon on the remote site (while the ssh-session is still active but kind of stuck), the local prompt returns (so: no further stucking)! This made me try the next command (new here: "/usr/bin/nohup"): ssh -i <KEY> <USER>@<SERVER> "/usr/local/bin/sudo /usr/bin/nohup /<PATH>/daemon start && echo 'done' " ... same difference. Any constructive ideas? Thanks in advance! Sincerely, Martin Binninger
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: scp and Linux Restricted Shell, Darren Tucker |
|---|---|
| Next by Date: | Re: Starting daemon using ssh, Dan Lowe |
| Previous by Thread: | Re: scp and Linux Restricted Shell, Robert Hajime Lanning |
| Next by Thread: | Re: Starting daemon using ssh, Dan Lowe |
| Indexes: | [Date] [Thread] [Top] [All Lists] |