This is the mail archive of the
mailing list for the Cygwin project.
Re: TTY and sshpass
- From: Sylvain Archenault <punx120 at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 10 Feb 2012 18:03:28 -0500
- Subject: Re: TTY and sshpass
- References: <4F3468FA.email@example.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.
I'm using mintty for the terminal, If I used xterm with X11, it's
complaining about /usr/sbin/ssh-askpass.
I'm going to contact sshpass author.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple