unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Steinar Bang <sb@dod.no>
Cc: emacs-devel@gnu.org
Subject: Re: ELPA commit freeze
Date: Tue, 20 Aug 2013 21:38:48 +0300	[thread overview]
Message-ID: <83wqngjjgn.fsf@gnu.org> (raw)
In-Reply-To: <8761v09qbx.fsf@dod.no>

> From: Steinar Bang <sb@dod.no>
> Date: Tue, 20 Aug 2013 20:20:34 +0200
> 
> >>>>> Eli Zaretskii <eliz@gnu.org>:
> 
> >> Do you have "Host *.sv.gnu.org User eliz" in your
> >> .ssh/config?
> 
> > I have its PuTTY equivalent, the auto-login username is set to "eliz".
> > (There's no ~/.ssh/config in PuTTY.)  Maybe git needs something else
> > in its own config files?
> 
> This is what I do (after having made sure that msysgit uses plink for
> SSH support, in the install):

Thanks.  My PuTTY was set up a long time ago, and works ever since,
with many VCSs and servers.  I don't even remember anymore when did I
generate the keys which I use.  And my sessions all include the
auto-login username, so there's no need to use the user name in the
hostname field.

The problem in this case, as I wrote later, was that git invokes plink
with the name of the server, but in a way that causes plink interpret
that as the name of a session.  So for this to work, one needs to have
the session name be the exact copy of the server name.  No other VCS I
have ever worked with, which includes CVS, bzr, and SVN, imposes this
restriction on the PuTTY session names.

This was revealed by using GIT_TRACE=1, a trick suggested by Andreas,
which shows the command(s) that git invokes.  Renaming the session
fixed the problem.

An alternative is to use a slightly different URL instead of
git+ssh://bzr.savannah.gnu.org/srv/git/emacs/elpa, one that includes
the username in it explicitly, which is what I was doing before I
understood the above.



  reply	other threads:[~2013-08-20 18:38 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-14  1:10 ELPA commit freeze Stefan Monnier
2013-08-14  7:46 ` Andreas Schwab
2013-08-14 14:42   ` Stefan Monnier
2013-08-15  1:12     ` Xue Fuqiao
2013-08-15  4:18       ` Stefan Monnier
2013-08-15 14:51         ` Eli Zaretskii
2013-08-15 15:29           ` Andreas Schwab
2013-08-15 15:44             ` Eli Zaretskii
2013-08-15 16:04               ` Andreas Schwab
2013-08-15 16:37                 ` Eli Zaretskii
2013-08-15 16:42                   ` Andreas Schwab
2013-08-15 17:06                     ` Eli Zaretskii
2013-08-15 17:16                       ` Eli Zaretskii
2013-08-20 18:20               ` Steinar Bang
2013-08-20 18:38                 ` Eli Zaretskii [this message]
2013-08-21  7:06                   ` Steinar Bang
2013-08-15 16:44           ` Stefan Monnier
2013-08-15 19:25         ` Glenn Morris
2013-08-15 20:33           ` Stefan Monnier
2013-08-15 20:41             ` Glenn Morris
2013-08-15 21:31               ` Stefan Monnier
2013-08-15 21:50                 ` Glenn Morris
2013-08-14  9:56 ` Dmitry Gutov
2013-08-14 14:43   ` Stefan Monnier
2013-08-17 16:34     ` Dmitry Gutov
2013-08-19  2:39       ` Stefan Monnier
2013-08-19  6:31         ` Dmitry Gutov
2013-08-20  5:16           ` Stefan Monnier
2013-08-20  9:26             ` Dmitry Gutov
2013-08-20  9:40               ` Andreas Schwab
2013-08-20 13:42                 ` Dmitry Gutov
2013-08-20 14:08                   ` Andreas Schwab
2013-08-20 23:12                     ` Dmitry Gutov
2013-08-20 14:45               ` Stefan Monnier
2013-08-20 23:22                 ` Dmitry Gutov
2013-08-21  4:21                   ` Stefan Monnier
2013-08-21  7:53                     ` Dmitry Gutov
2013-08-21 19:56                       ` Stefan Monnier
2013-08-21 23:38                         ` Dmitry Gutov
2013-08-21  4:23                   ` Stefan Monnier
2013-08-21  8:00                     ` Dmitry Gutov
2013-08-21 20:00                       ` Stefan Monnier
2013-08-21 21:51                         ` Dmitry Gutov
2013-08-21 23:56                           ` Stefan Monnier
2013-08-22  0:20                             ` Dmitry Gutov
2013-08-22  1:55                               ` Stefan Monnier
2013-08-22  8:47                                 ` Dmitry Gutov
2013-08-22 20:35                                   ` Stefan Monnier
2013-08-22 21:14                                     ` Dmitry Gutov
2013-08-23  0:51                                       ` Stefan Monnier
2013-08-23  1:28                                         ` Dmitry Gutov
2013-08-23  4:12                                           ` Stefan Monnier
2013-08-23 12:01                                             ` Dmitry Gutov
2013-08-23 15:05                                               ` Stefan Monnier
2013-08-24  1:16                                                 ` Dmitry Gutov
  -- strict thread matches above, loose matches on Subject: below --
2013-08-23 17:44 Donald Curtis
2013-08-23 23:04 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83wqngjjgn.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=sb@dod.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).