Hello I am trying to write an ssh client to send some commands to a remote host via ssh. But for reasons unknown to me, this client does not want to work correctly. It seems that the remote side does not always get the commands, so I assume there must be something wrong with my pty communication handling. The reason why I use a pty device is because I want this client to be called by some daemon and ssh needs one to enter the password. I have attached the source code of my client, maybe someone can tell me what I am doing wrong. Thanks, Holger --