Ok. What do I do wrong?

execl("/bin/ssh", "ssh", argv[1], "u9fs", "-Dnza", "p9any", "-A", argv[2],
nil);

Seems it gets the -Dzna p9any, but not the -A keyfile



2014/1/9 Bence Fábián <beg...@gmail.com>

> Nothing except the ssh entry.
> I try to do
> mount /srv/u9fs /n/linuxbox
> /srv/u9fs is a pipe through ssh to the linuxbox running u9fs.
> I'm trying to use p9any on the u9fs side.
> When i run the command on the linux box it is fine
> but when run through ssh it exits immediately.
> Most probably an oversight on my part somewhere.
>
> I'll try to find what did i mistyped. I use absolute path for
> the key file so that can't be it.
>
> If still can't make it work I'll try with execnet(4).
>
>
>
> 2014/1/7 Bence Fábián <beg...@gmail.com>
>
>> Im home now. Will send it tomorrow
>>
>> 2014/1/7, Skip Tavakkolian <skip.tavakkol...@gmail.com>:
>> > what do you have in your factotum for that dom? (i.e. grep linuxboxname
>> > /mnt/factotum/ctl)
>> >
>> >
>> >
>> > On Tue, Jan 7, 2014 at 9:17 AM, Bence Fábián <beg...@gmail.com> wrote:
>> >
>> >> Hi fans!
>> >>
>> >> I want to mount my filesystem on a linux machine from plan9.
>> >> u9fs.log says:
>> >>
>> >>     u9fs
>> >>     kill 23121
>> >>     <- Tversion tag 65535 msize 8216 version '9P2000'
>> >>     -> Rversion tag 65535 msize 8216 version '9P2000'
>> >>     <- Tattach tag 15 fid 527 afid -1 uname bence aname
>> >>     ruserok(, bence) not okay
>> >>     -> Rerror tag 15 ename u9fs: rhosts authentication failed
>> >>
>> >> My username is not bence but bfabian on the linux system.
>> >> That seems to be the problem. I guess maybe i should use
>> >> the -k option of mount(1) but -k 'user=bfabian' doesn't seem
>> >> to be enough.
>> >>
>> >> Any input?
>> >>
>> >> Thanks,
>> >> BenceF
>> >>
>> >>
>> >
>>
>
>

Reply via email to