darcs

Issue 155 no error report when scp doesn't work

Title no error report when scp doesn't work
Priority not-our-bug Status wont-fix
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, fx, jch, kowey, thorkilnaur, tommy
Assigned To
Topics

Created on 2006-03-31.12:56:41 by fx, last changed 2009-08-27.13:47:25 by admin.

Messages
msg596 (view) Author: fx Date: 2006-03-31.12:56:39
If no-one else can do it first, I'll see if I can fix this sometime,
but I don't know my way around.

I have access to web space which supports sftp but not scp.  If I
`darcs get' from it using the foo@bar:baz respository syntax, darcs
creates an empty repository with no error message about scp failing.

I can make it work by setting DARCS_SCP to `sftp' and I'll send a
patch to the doc to mention that, though I don't know how common a
situation that is.
msg602 (view) Author: jch Date: 2006-04-07.18:06:16
How do you disable scp while keeping sftp?  I'd like to try to reproduce this bug.
msg611 (view) Author: fx Date: 2006-04-08.10:59:19
Juliusz Chroboczek <bugs@darcs.net> writes:

> How do you disable scp while keeping sftp?  I'd like to try to
> reproduce this bug.

You'd have to run a server which stops scp but allows sftp.

I actually investigated further and found that what happens is that
you get a message:

  This account is restricted by rssh.
  Allowed commands: sftp rsync

  If you believe this is in error, please contact your system administrator.

and the client returns condition code 0, so it's the equivalent of
using DARCS_SCP=true.  Sorry for not realizing that earlier.  I
haven't figured out yet whether something more sensible can/should
happen when darcs doesn't get any data back from the scp attempt.
History
Date User Action Args
2006-03-31 12:56:41fxcreate
2006-04-03 12:04:35droundysetnosy: droundy, tommy, fx
2006-04-07 18:06:18jchsetstatus: unread -> unknown
nosy: + jch
messages: + msg602
2006-04-08 10:59:21fxsetnosy: droundy, jch, tommy, fx
messages: + msg611
2006-06-07 21:44:20jchsetpriority: bug -> not-our-bug
status: unknown -> wont-fix
nosy: droundy, jch, tommy, fx
2009-08-06 17:38:52adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, kowey, beschmi, thorkilnaur, - droundy, jch, fx
2009-08-06 20:49:27adminsetnosy: - beschmi
2009-08-10 21:51:25adminsetnosy: + fx, jch, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 17:52:32adminsetnosy: + darcs-devel, - simon
2009-08-27 13:47:25adminsetnosy: jch, tommy, kowey, fx, darcs-devel, thorkilnaur, dmitry.kurochkin