Menu

#6 sshpass stopped working with cygwin 1.7.10-1

v1.06
invalid
nobody
None
5
2021-01-23
2012-02-10
Anonymous
No

Hello,

I've been using sshpass and cygwin for a while, but it stopped working after the last upgrade. They did some change related to TTY that may be the cause of the problem, but I'm not sure.

I add some logging to the program and I found that the pselect call fails and set the errno to Interrupted system call I don't kwow why though.

If I ran it from xterm running in X11 under windows, I have the following error (pselect fails as well)
ssh_askpass: exec(/usr/sbin/ssh-askpass): No such file or directory
ssh_askpass: exec(/usr/sbin/ssh-askpass): No such file or directory
ssh_askpass: exec(/usr/sbin/ssh-askpass): No such file or directory
Permission denied (publickey,keyboard-interactive).
ERROR: Interrupted system call

On another computer, where cygwin has not been updated, ssh-askpass is not installed and it works fine.

Let me know if you have any other idea to figure out the problem, i'd be happy to test.

Thanks,
Sylvain

Discussion

  • Shachar Shemesh

    Shachar Shemesh - 2021-01-23
    • status: open --> invalid
    • Group: --> v1.06
     
  • Shachar Shemesh

    Shachar Shemesh - 2021-01-23

    It works fine for me.
    Please note that cygwin's sshpass won't work with Windows's native ssh. You have to use cygwin's ssh.

     

Log in to post a comment.