Openssh redirection from stdin

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I have modified ssh code to take password from stdin. This I have done
after modifying readpassphrase function.
The program is working fine. But the problem comes when I doing like

echo "mypassword" | ssh -t <with arguments>

Ssh is connecting to device but not staying up and .

I have set the debug trace , the error I am getting are related to
pipe descriptors. (Broken pipe)

Any help is highly appreciated.

Site Timeline