On 2013-07-10 21:31, Martin Gagnon wrote:
On Wed, Jul 10, 2013 at 01:51:05AM -0600, Andy Bradford wrote:
Folks,

As I mentioned before, I've been attempting some modifications to the fossil SSH URL handling. I'm at a point where I could use some feedback
regarding the previous method for handling SSH.

  [snip]


I like the idea to have new ssh implementation that don't depend on
shell and to have capability to use ssh protocol without using accounts
with shell access. But I think there's still have some work and test
that need to be done on this implementation.

I tried your patch, I don't know if I'm missing something but it
doesn't work for me... I made a simple test in the same way I was using
ssh:// protocol before, without using SSH keys restrictions and I got
following results:

        1- Some new line are missing when asking for password, so I'm
           typing password over the first line of sync status output.

                   (I guess this is not a problem when using ssh keys
                   but output should still be correct when using
                   password)

        2- Clone return with no warning or error right away with 0
           artifact sent and 0 artifact received and I end up with a
           empty fossil file and a fossil-journal file..

   (On OpenBSD 5.3 amd64)

Exact same command with non-patched fossil work.
On linux (arch) it works. Now if i lower my credentials i'm not allowed to write!

I had no problem typing the password. even if i botch my first one!
fossil clone ssh://renez@arch:22/src/fossil/myclone.fossil?fossil=bin/fssh new2.fsl
    ssh -e none -T renez@arch
    renez@arch's password:
    Permission denied, please try again.
    renez@arch's password:
    Round-trips: 6   Artifacts sent: 0  received: 21510
    Clone finished with 1592 bytes sent, 28967314 bytes received
    Killed by signal 2.
    Rebuilding repository meta-data...
      100.0% complete...
    project-id: CE59BB9F186226D80E49D1FA2DB29F935CCA0333
    admin-user: renez (password is "4b8994")




Is nobody allowed to clone on your repo?



--
Rene
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to