This is the mail archive of the
mailing list for the Cygwin project.
Re: TTY and sshpass
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 09 Feb 2012 22:30:59 -0500
- Subject: Re: TTY and sshpass
- References: <4F3468FA.firstname.lastname@example.org>
- Reply-to: cygwin at cygwin dot com
On 2/9/2012 7:46 PM, Sylvain Archenault wrote:
I've been using sshpass (http://sourceforge.net/projects/sshpass/) for a
while and it stopped working after I updated cygwin to the last version
1.7.10-1 (was wokring with 1.7.9). I think it stops working because
CYGWIN=TTY has changed or has been removed.
Indeed, sshpass try to access TTY to communicate with the child ssh process,
so I would think that the recent changes to TTY could be the problem.
sshpass use "pselect" to read from the TTY, but the function returns an
error the errno is set to :
ERROR: Interrupted system call
Does someone have an idea on the reason why ?
Try using mintty instead. If that doesn't help, try contacting the sshpass
provider for help.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple