[darcs-devel] [issue237] darcs silently fails on ssh push

Ori Avtalion bugs at darcs.net
Thu Aug 10 12:34:35 PDT 2006


New submission from Ori Avtalion <oavtal at bezeqint.net>:

Using darcs 1.0.8.

I apologize in advance if this report is cryptic. I am not quite sure what's
causing the problem.

I am experiencing the following problem with my university host. I have no
troubles with other hosts:

When pushing to the repository over ssh, darcs prompts me if I want to push the
patch, and when I confirm, it immediately returns to prompt without any
success/error messages.

Further more, "darcs get" over ssh creates an empty dir with a basic initialized
repository - no files in it.

The symptoms described seem similar to issue155, but I have no problem using
both scp and sftp to access the remote machine.


To diagnose the problem, I executed the following tests:
1) Executed "push" with --disable-ssh-cm - Exactly the same behavior as before.
2) This works just fine:
$ darcs send -o bundle http://www.server.com/~user/my_repos
$ cat bundle | ssh user at server.com darcs apply --all --repodir 'my_repos'
3) I modified the ssh call to be more verbose:
{
hunk ./External.hs 666
-    return (ssh, "-q" : ssh_args ++ cm_args)
+    return (ssh, "-v" : "-v" : "-v" : ssh_args ++ cm_args)
}

The output of darcs push now was:
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug3: ssh_msg_send: type 1
debug3: ssh_msg_recv entering
debug3: ssh_msg_send: type 1
debug3: ssh_msg_recv entering
debug2: Received EOF from master

Where a healthy server should print:
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug3: ssh_msg_send: type 1
debug3: ssh_msg_recv entering
debug3: ssh_msg_send: type 1
debug3: ssh_msg_recv entering
Finished applying...
debug2: Received exit status from master 0
debug2: Received EOF from master

----------
messages: 881
nosy: droundy, salty-horse, tommy
priority: bug
status: unread
title: darcs silently fails on ssh push

____________________________________
Darcs issue tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue237>
____________________________________




More information about the darcs-devel mailing list