search for: sshd_host

Displaying 1 result from an estimated 1 matches for "sshd_host".

Did you mean: ssh_host
2007 Jan 16
0
patch to enable ssh use sock fd 3,4
...bind_addr)) || die "bind: $!"; listen($sfd,SOMAXCONN) || die "listen: $!"; accept (Cfd,$sfd); close $sfd; open 3,"<&Cfd"; open 4,"<&Cfd"; if(! grep fileno(Cfd) == $_,(3,4)) { close Cfd;} exec {ssh} qw(ssh -D2085 -oProxyCommand=:socket: user at sshd_host); So if you pass -oProxyCommand=:socket: to ssh it will not make a new child but use those 2 fd. diff -rNu openssh-4.5p1/sshconnect.c openssh-4.5p1-ssh-socket/sshconnect.c --- openssh-4.5p1/sshconnect.c 2006-10-23 20:02:24.000000000 +0300 +++ openssh-4.5p1-ssh-socket/sshconnect.c 2007-0...