Re: SSH Multiplexing w/ no controlling TTY
From: Grand Poohbah (freebsd_at_theharem.net)
Date: 06/01/05
- Previous message: Joe Beasley: "Re: ssh: without password/passphrase prompt"
- In reply to: Grand Poohbah: "Re: SSH Multiplexing w/ no controlling TTY"
- Next in thread: Grand Poohbah: "Re: SSH Multiplexing w/ no controlling TTY"
- Reply: Grand Poohbah: "Re: SSH Multiplexing w/ no controlling TTY"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 1 Jun 2005 16:00:52 -0500
just to make sure i am being somewhat coherant.
I have a C program that forks and calls the ssh. In the event the ssh
connection goes down it loops and starts again (very basic script). Normaly
STDIN & STDOUT of the fork process is piped away, but when i remove this and
let the info go to STDIN i see the following.
/usr/bin/ssh -M -S
/tmp/vpn-user.remote-mux -a -P -2 -lvpn-user -p22 -cblowfish -L3306:127.0.0.1:3306
-R1236:127.0.0.1:22 -R11236:127.0.0.1:1030 vpn1.domain.com
ssh_control_listener bind(): No such file or directory
If i run the same command from the foreground it works just fine. Forking
allows me to simulate what happens when i run this from a start up script.
- Previous message: Joe Beasley: "Re: ssh: without password/passphrase prompt"
- In reply to: Grand Poohbah: "Re: SSH Multiplexing w/ no controlling TTY"
- Next in thread: Grand Poohbah: "Re: SSH Multiplexing w/ no controlling TTY"
- Reply: Grand Poohbah: "Re: SSH Multiplexing w/ no controlling TTY"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|