darcs

Issue 219 Windows: harmless ssh failures leaking to user

Title Windows: harmless ssh failures leaking to user
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, eivuokko, kowey, simonmar, simonpj, thorkilnaur, tommy, wglozer
Assigned To
Topics Windows

Created on 2006-07-06.13:51:44 by simonpj, last changed 2009-10-23.23:36:20 by admin.

Messages
msg785 (view) Author: simonpj Date: 2006-07-06.13:51:40
This one is just an annoyance. Still darcs 1.0.8 on Windows.

When I do 'darcs send' I get apparently-harmless messages

scp: /home/darcs/ghc-fc/.git/HEAD: No such file or directory
scp: /home/darcs/ghc-fc/_darcs/format: No such file or directory
scp: /home/darcs/ghc-fc/.git/darcs-format: No such file or directory

log below

Simon

sh-2.04$ darcs send --output big-patch
Usage: ssh [options] host [command]
Options:
  -l user     Log in using this user name.
  -n          Redirect input from /dev/null.
  -A          Enable authentication agent forwarding.
  -a          Disable authentication agent forwarding.
  -X          Enable X11 connection forwarding.
  -x          Disable X11 connection forwarding.
  -i file     Identity for public key authentication (default:
~/.ssh/identity)
  -t          Tty; allocate a tty even if command is given.
  -T          Do not allocate a tty.
  -v          Verbose; display verbose debugging messages.
              Multiple -v increases verbosity.
  -V          Display version number only.
  -P          Don't allocate a privileged port.
  -q          Quiet; don't display any warning messages.
  -f          Fork into background after authentication.
  -e char     Set escape character; ``none'' = disable (default: ~).
  -c cipher   Select encryption algorithm: ``3des'', ``blowfish''
  -m macs     Specify MAC algorithms for protocol version 2.
  -p port     Connect to this port.  Server must be on the same port.
  -L listen-port:host:port   Forward local port to remote address
  -R listen-port:host:port   Forward remote port to local address
              These cause ssh to listen for connections on a port, and
              forward them to the other side by connecting to host:port.
  -C          Enable compression.
  -N          Do not execute a shell or command.
  -g          Allow remote hosts to connect to forwarded ports.
  -1          Force protocol version 1.
  -2          Force protocol version 2.
  -4          Use IPv4 only.
  -6          Use IPv6 only.
  -o 'option' Process the option as if it was read from a configuration
file.
  -s          Invoke command (mandatory) as SSH2 subsystem.
scp: /home/darcs/ghc-fc/.git/HEAD: No such file or directory
scp: /home/darcs/ghc-fc/_darcs/format: No such file or directory
scp: /home/darcs/ghc-fc/.git/darcs-format: No such file or directory
Creating patch to "simonpj@darcs.haskell.org:/home/darcs/ghc-fc"...

Wed Jun 21 09:34:44 GMT Daylight Time 2006  simonpj@microsoft.com
  * Remove compiler from the boring list (how did it get there?)
Shall I send this patch? (1/2)  [ynWvpxqadjk], or ? for help: y

Wed Jul  5 10:44:20 GMT Daylight Time 2006  simonpj@microsoft.com
  * Massive patch for the first months work adding System FC to GHC

  This is (sadly) all done in one patch to avoid Darcs bugs.
  It's not complete work... more FC stuff to come.  A compiler
  using just this patch will fail dismally.
Shall I send this patch? (2/2)  [ynWvpxqadjk], or ? for help: y

sh-2.04$ ls -l
msg787 (view) Author: droundy Date: 2006-07-06.14:11:16
Obviously on windows we're accidentally printing stderr of the ssh
commands... which we shouldn't be doing.  :(
-- 
David Roundy
msg1241 (view) Author: tommy Date: 2006-11-17.14:54:27
There have been so many changes with redirections for win32/unix and -q flags
for putty/ssh, so I've lost track. What is the current status of this issue with
regard to darcs 1.0.9rc2? Are there still things to muffle?
msg1250 (view) Author: kowey Date: 2006-11-18.22:05:20
On Fri, Nov 17, 2006 at 14:54:33 +0000, Tommy Pettersson wrote:
> There have been so many changes with redirections for win32/unix and -q flags
> for putty/ssh, so I've lost track. What is the current status of this issue with
> regard to darcs 1.0.9rc2? Are there still things to muffle?

Yes.  It's something that affects Unix (and probably Windows too).
1.0.9rc2 outputs something the following messages:
  * Pseudo-terminal will not be allocated because stdin is not a terminal.
  * Exit request sent.

Luckily, this is easy to fix.  I'll be sending in a patch shortly.
History
Date User Action Args
2006-07-06 13:51:44simonpjcreate
2006-07-06 14:11:21droundysetstatus: unread -> unknown
nosy: droundy, tommy, simonmar, simonpj
messages: + msg787
2006-07-13 18:24:54jchsetnosy: + kowey
title: Odd error message -> Windows: harmless ssh failures leaking to user
2006-07-13 18:25:07jchsettopic: + Windows
nosy: + wglozer, eivuokko
2006-11-17 14:54:33tommysetnosy: droundy, tommy, kowey, wglozer, eivuokko, simonmar, simonpj
messages: + msg1241
2006-11-18 22:05:26koweysetnosy: droundy, tommy, kowey, wglozer, eivuokko, simonmar, simonpj
messages: + msg1250
2006-11-25 18:08:03koweysetstatus: unknown -> resolved-in-unstable
nosy: droundy, tommy, kowey, wglozer, eivuokko, simonmar, simonpj
2007-07-16 01:11:20koweysetstatus: resolved-in-unstable -> resolved
nosy: + beschmi
2009-08-06 17:41:47adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, wglozer, eivuokko, simonmar, simonpj
2009-08-06 20:38:55adminsetnosy: - beschmi
2009-08-10 21:53:31adminsetnosy: + wglozer, eivuokko, simonmar, simonpj, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 17:55:24adminsetnosy: + darcs-devel, - simon
2009-08-27 13:49:59adminsetnosy: tommy, kowey, wglozer, darcs-devel, eivuokko, simonmar, simonpj, thorkilnaur, dmitry.kurochkin
2009-10-23 22:37:50adminsetnosy: + marlowsd, - simonmar
2009-10-23 23:36:20adminsetnosy: + simonmar, - marlowsd