If I have an account on the remote machine then autosync succeeds.
I have this setup:
archlinux running this is fossil version 1.25 [878f7008ab] 2013-05-31
17:41:25 UTC
windows xp virtual machine
arch
fossil create andy.fsl
fossil ui andy.fsl (add user zwart604 as developer)
win
fossil settings ssh-command "plink -T"
fossil clone ssh://renez@arch/andy.fsl?fossil=bin/fossil andyclone.fsl
--sshTrace
plink -T renez@arch
==>> Using username "renez".
Round-trips: 2 Artifacts sent: 0 received: 6
Clone finished with 485 bytes sent, 1294 bytes received
Rebuilding repository meta-data...
100.0% complete...
project-id: 131a4040153ac69a6f4d1108b23f57eccef102b2
admin-user: zwart604 (password is "45004c")
mkdir t
cd t
fossil open ..\andyclone.fsl
echo "#include <stdfio.h>" >a.c
fossil add a.c
temp\t>..\fossil.exe commit -m "did this as zwart604"
Autosync: ssh://renez@arch/andy.fsl?fossil=bin/fossil
plink -T renez@arch
Using username "renez".
Round-trips: 1 Artifacts sent: 0 received: 0
Pull finished with 290 bytes sent, 286 bytes received
./a.c contains CR/NL line endings. Use --no-warnings or the
"crnl-glob" setting
to disable this warning.
Commit anyhow (a=all/c=convert/y/N)? a
New_Version: 9eeeca09475fc269e49c1864ec9ff5b669e5664a
Autosync: ssh://renez@arch/andy.fsl?fossil=bin/fossil
plink -T renez@arch
==>> Using username "renez".
Round-trips: 1 Artifacts sent: 2 received: 0
Sync finished with 522 bytes sent, 340 bytes received
What is annoying is that all the interaction is done with the name of
the user who has the ssh-account. like the log is
2 2013-07-01 18:03:02 renez 127.0.0.1
1 2013-06-30 13:36:03 renez
Number 2 is not true that came from zwart604 at ip xxx.xxx.xxx.xxx
Maybe make the force command
command="/usr/local/bin/fossil http /tmp/test.fossil --user
zwart604 --ip x.x.x.x " ssh-rsa
if you have given the key to one person then the key will identify the
user
$SSH2_CLIENT, extract the IP address of the incoming client, which is
the first (of three) value in the string.
Or fossil could pick that up form cards sent. or from the environment
or from both
Why not a mode fossil ssh (which would be a special http)
What seems weird if I drop the access of zwart604 to g(Clone) i can
still sync and enter new files Is that expected behaviour?
--
Rene
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users