Re: Calling ssh from C-Program with execvp
- From: Manfred Rebentisch <mrebentisch@xxxxxxxxxxx>
- Date: Sun, 21 Jan 2007 17:33:37 +0100
Hello Doug,
Doug Spencer wrote:
On Sun, 21 Jan 2007 11:50:40 +0100I forgot to tell: testet with BachMode yes too. Same result.
Manfred Rebentisch <mrebentisch@xxxxxxxxxxx> wrote:
Hello,
I try to call ssh from my Linux-Daemon (or for testing with a simple
C-program) with fork() and execvp() from the forked client. This works
great with all programs I tested, but not with ssh.
Try setting -o 'BatchMode yes', either on the command line, or in your
options. Also try doing an ssh -vvv from your program and view the
output. It sounds like it is waiting for input.
Thank you for thinking about my problem.
Manfred
.
- Follow-Ups:
- Re: Calling ssh from C-Program with execvp
- From: Doug Spencer
- Re: Calling ssh from C-Program with execvp
- References:
- Calling ssh from C-Program with execvp
- From: Manfred Rebentisch
- Re: Calling ssh from C-Program with execvp
- From: Doug Spencer
- Calling ssh from C-Program with execvp
- Prev by Date: Re: Calling ssh from C-Program with execvp
- Next by Date: Re: Calling ssh from C-Program with execvp
- Previous by thread: Re: Calling ssh from C-Program with execvp
- Next by thread: Re: Calling ssh from C-Program with execvp
- Index(es):
Relevant Pages
|
|