Phabricator version: 20161003
PHP Version: 5.6
SSH Version: 7.2p2
ssh-auth sometimes seems to hang. The solution is to print the keys one by one instead of flushing the whole key list at once.
Related freebsd bug report: http://lists.mindrot.org/pipermail/openssh-bugs/2015-November/015714.html
Patch:
--- ssh-auth.old 2016-11-07 13:58:40.003632883 +0530 +++ ssh-auth 2016-11-07 13:59:03.217630698 +0530 @@ -70,8 +70,10 @@ ); $options = implode(',', $options); - $lines[] = $options.' '.$type.' '.$key."\n"; + //$lines[] = $options.' '.$type.' '.$key."\n"; + $line = $options.' '.$type.' '.$key."\n"; + echo $line; } -echo implode('', $lines); +//echo implode('', $lines); exit(0);