Re: [9fans] sshserve.c

2008-04-18 Thread Steve Simon
Sshfs uses ssh to start a file server program (generally called sftp) on the remote server. Under sshv2 this is described as an external subsystem, i.e. a specific message is sent to the server to start the file server subsystem. Under sshv1 which is what the plan9 ssh server supports, the clie

Re: [9fans] sshserve.c

2008-04-16 Thread Bruce Ellis
On Wed, Apr 16, 2008 at 10:12 PM, Pietro Gagliardi <[EMAIL PROTECTED]> wrote: > On Apr 15, 2008, at 11:30 PM, Bruce Ellis wrote: > > > On Wed, Apr 16, 2008 at 12:29 PM, Russ Cox <[EMAIL PROTECTED]> wrote: > > > > > > > > > Using MacFUSE + sshfs, I have: > > > > -bash$ sshfs ar.aichi-u.ac.jp: /n

Re: [9fans] sshserve.c

2008-04-16 Thread Pietro Gagliardi
On Apr 15, 2008, at 11:30 PM, Bruce Ellis wrote: On Wed, Apr 16, 2008 at 12:29 PM, Russ Cox <[EMAIL PROTECTED]> wrote: 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]

Re: [9fans] sshserve.c

2008-04-15 Thread Bruce Ellis
On Wed, Apr 16, 2008 at 12:29 PM, Russ Cox <[EMAIL PROTECTED]> wrote: > > 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.

Re: [9fans] sshserve.c

2008-04-15 Thread Russ Cox
> 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 I don'

Re: [9fans] sshserve.c

2008-04-15 Thread Roman V. Shaposhnik
On Tue, 2008-04-15 at 19:17 -0400, erik quanstrom wrote: > > Because it screws up conversation order. > > that depends if you think a conversation is a stack or a heap. And even if it is a stack -- which way it grows. Thanks, Roman.

Re: [9fans] sshserve.c

2008-04-15 Thread erik quanstrom
> Because it screws up conversation order. that depends if you think a conversation is a stack or a heap. - erik

Re: [9fans] sshserve.c

2008-04-15 Thread Kenji Arisawa
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:

Re: [9fans] sshserve.c

2008-04-15 Thread john
eric quanstrom <[EMAIL PROTECTED]> wrote: > > please explain why bottom posting is better. > > - erik > > p.s. ☺ Because it screws up conversation order. >Why is top-posting bad? >>Top-posting. >>>What is the most annoying thing on Usenet?

Re: [9fans] sshserve.c

2008-04-15 Thread erik quanstrom
>> 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("u

Re: [9fans] sshserve.c

2008-04-15 Thread Pietro Gagliardi
On Apr 15, 2008, at 6:34 PM, [EMAIL PROTECTED] 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

Re: [9fans] sshserve.c

2008-04-15 Thread john
> 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"

Re: [9fans] sshserve.c

2008-04-15 Thread Pietro Gagliardi
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 w