problem with a tty

Łukasz Bieńczyk lukasz.bienczyk at gmail.com
Mon Oct 24 19:11:18 EST 2011


hello everyone

I'm writing an application which execute ssh, I communicate with
a ssh process by stdin/stdout. Everything works fine, but lately I've noticed
that I need TTY(for changing a password), so I use "-tt" option to force tty
allocation, and now on stdout I get messages with all commands which I write.
I mean:
write(stdin): ls
read(stdout): ls
read(stdout): "ls result"

Is there a way to avoid that?

Regards,
lukasz


More information about the openssh-unix-dev mailing list