Robert, You where exactly right! I was missing the dups. Thanks. William Estrada MrUmunhum at popdial.com Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net ) Ymessenger: MrUmunhum Robert Hajime Lanning wrote: > When you fork() for the ssh call, before you exec(), you need to: > open the pseudo terminal as stdin, stdout, stderr.