SCP fails with read failure on openssh6.5.

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Hi,

Wanted to know if there is a work around or a fix available for the scp
failure issue we are seeing in atomicio6 func ? SCP code transfer starts
but in between gets stuck with read failure.

The linux version we have on our system is Linux (none) 2.6.34.6  and open
ssh version is OpenSSH_6.5p1, OpenSSL 1.0.1j.
Since its not possible for us to move to the latest linux kernel I am
trying to find a way for a fix.

The code flow is as below :



main() -> ..->sink()->atomicio6()->read()


In func atomicio6() returns response -1 with error number EAGAIN during the
course of the transfer.

Error number EAGAIN leads to a poll() being called which I believe never
returns and hence the scp transfer hangs.

I have tried enabling the macro BROKEN_READ_COMPARISION but no help.

I tried a solution mentioned in the thread below but that too didnt quiet
help.

https://lists.mindrot.org/pipermail/openssh-unix-dev/2014-January/032080.html

Anything else I can try to fix this or any workaround anyone can suggest ?

-- 
---------------------------------------------------------------------------------
Roshan Nair

--whatever you end up doing ... love it!
---------------------------------------------------------------------------------
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux