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: | when does ssh return? |
|---|---|
| Date: | Fri, 05 May 2006 16:03:39 -0400 |
When I do
[popcorn][~]$ time ssh dave@popcorn "sleep 10&"
real 0m10.216s user 0m0.060s sys 0m0.000s
ssh waits for the sleep to finish. Does anyone either understand why ssh is waiting for sleep to finish or how to make it not do it?
I've tried
ssh dave@popcorn "run_and_return sleep 10"
where run_and_return is the bash script:
#!/bin/bash
?@&and a similar thing with a perl script that forks. I even tried having the perl script fork, have its child fork, and then the grandchild execute the command.
But ssh keeps sticking around...
Thanks for any help, Dave
p.s. I'm using
[popcorn][~]$ ssh -V OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
on
with Fedora Core 2 installed.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: FW: SSH/SFTP rc problem in Solaris., Patrick Morris |
|---|---|
| Next by Date: | RE: prngd usage on OpenSsh4.3p2, Brett.Wickman |
| Previous by Thread: | X.509 openssh, Wen Shaokai-CSW026 |
| Next by Thread: | Re: when does ssh return?, Jason Muskat |
| Indexes: | [Date] [Thread] [Top] [All Lists] |