[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Re: Q: is it possible to supply password for svn+ssh via command-line arguments?

From: Mark <mark_at_mitsein.net>
Date: 2006-09-28 17:43:05 CEST

If that is the case, then your friend needs to re-evaluate his
aversion to publickeys with ssh. It is really nice when you have it
set up. Check out http://www.gentoo.org/doc/en/keychain-guide.xml for
talk about using publickeys with ssh and a nice utility, keychain,
that helps you manage them.

On 9/28/06, Vitaly Karasik <Vitaly.Karasik@kayote.com> wrote:
> Thanks, but for some reason svn doesn't pass "--username" and
> "--password" to ssh. We can provide username as
> svn+ssh://username@10.10.10.1/, but password?
>
> > -----Original Message-----
> > From: grimm26@gmail.com [mailto:grimm26@gmail.com] On Behalf Of Mark
> > Sent: Wednesday, September 27, 2006 6:58 PM
> > To: users@subversion.tigris.org
> > Subject: Re: Q: is it possible to supply password for svn+ssh via
> command-
> > line arguments?
> >
> > svn co --username joe --password coolness
> svn+ssh://somewhere/svn/repos
> >
> > He 'doesn't like public/private keys authentication?' He needs to
> > re-evaluate his thinking.
> >
> > On 9/27/06, Reedick, Andrew <Andrew.Reedick@bellsouth.com> wrote:
> > >
> > > > -----Original Message-----
> > > > From: Vitaly Karasik [mailto:Vitaly.Karasik@Kayote.com]
> > > > Sent: Wednesday, September 27, 2006 9:26 AM
> > > > To: users@subversion.tigris.org
> > > > Subject: Q: is it possible to supply password for svn+ssh via
> > > > command-line arguments?
> > > >
> > > > My colleague want to use svn+ssh access from his script, but
> doesn't
> > > > like public/private keys authentication.
> > > > Is there a way to pass ssh password via "svn" command line?
> > > >
> > >
> > > If you're being prompted to enter a password, you can use Expect to
> have
> > > scripts 'type' the password in when prompted. Expect will allow you
> to
> > > send/receive keystrokes to a program as if there were someone
> sitting at
> > > the keyboard. It normally ships with Tcl, but I much prefer Perl's
> > > Expect module.
> > >
> > > There's an O'Reilly book, Exploring Expect, that will get you
> started.
> > > ISBN 1-56592-090-2
> > >
> > > However, it's easier to setup the public/private keys than to learn
> > > Expect.
> > >
> > > *****
> > >
> > > The information transmitted is intended only for the person or
> entity to
> > which it is addressed and may contain confidential, proprietary,
> and/or
> > privileged material. Any review, retransmission, dissemination or
> other
> > use of, or taking of any action in reliance upon this information by
> > persons or entities other than the intended recipient is prohibited.
> If
> > you received this in error, please contact the sender and delete the
> > material from all computers. GA622
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > > For additional commands, e-mail: users-help@subversion.tigris.org
> > >
> > >
> >
> >
> > --
> > Mark
> > "Blessed is he who finds happiness in his own foolishness, for he will
> > always be happy."
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

-- 
Mark
"Blessed is he who finds happiness in his own foolishness, for he will
always be happy."
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 28 17:44:00 2006

This is an archived mail posted to the Subversion Users mailing list.