From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <17DBCA70-E6AB-4A98-B898-48DEEBC466CA@ar.aichi-u.ac.jp> Content-Transfer-Encoding: 7bit From: Kenji Arisawa Date: Wed, 16 Apr 2008 08:11:11 +0900 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] sshserve.c Topicbox-Message-UUID: 8eadebd8-ead3-11e9-9d60-3106f5b1d025 Thanks Pietro, I am glad if someone can help me. Using MacFUSE + sshfs, I have: -bash$ sshfs ar.aichi-u.ac.jp: /n/ar remote host has disconnected -bash$ Then /sys/log/ssh says: ar Apr 16 07:53:15 [359853] connect from 124.241.154.73!53142 /bin/aux/sshserve: reading server version: unexpected EOF The host ar is a Plan 9 cpu server servicing tcp22 as exec /bin/aux/sshserve -A 'password' `{cat $3/remote} >>[2]/ sys/log/ssh Of course I can connect to ar using ssh ar.aichi-u.ac.jp Kenji Arisawa On 2008/04/16, at 7:29, Pietro Gagliardi wrote: > Yup. usage() is calling itself with no termination condition - and > what's more, it is tail recursing. It should be > > void > usage(void) > { > fprint(2, "usage: sshserve [-A authlist] [-c cipherlist] client- > ip-address\n"); > exits("usage"); > } > > to keep with the Plan 9 program. Enjoy! > > When this QEMU-on-Leopard-freezes-randomly bug gets fixed, I can > fix it and any other dangers. >