You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Sean Schofield <se...@gmail.com> on 2005/07/08 00:57:53 UTC

[ot] Can't get ant's scp to work

Is the struts team still using ant's scp task to do the nightlies?  I
am getting an "auth" failure.  I think this is related to the OS
upgrade on minotaur.  I had to switch to SSH2 for all of my putty
sessions.

TIA,
sean

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: [ot] Can't get ant's scp to work

Posted by Sean Schofield <se...@gmail.com>.
Apparently the scp task does not support "interractive"
authentication.  I saw that something was checked into the latest dev
version of ant to allow this.  In the meantime, I switched to
key-based authentication and that took care of my problem.

Thanks for the help.

sean

On 7/8/05, James Mitchell <jm...@apache.org> wrote:
> I use shell script to scp the nightlies built via Maven.  Everything
> (and mean *everything*, including a copy of the actual script) is in
> svn if you care to see how I do it.
> 
> http://svn.apache.org/viewcvs.cgi/struts/build/trunk/maven-
> nightly.sh.current?rev=159772&view=markup
> 
> 
> --
> James Mitchell
> Software Engineer / Open Source Evangelist
> Consulting / Mentoring / Freelance
> EdgeTech, Inc.
> http://www.edgetechservices.net/
> 678.910.8017
> AIM:   jmitchtx
> Yahoo: jmitchtx
> MSN:   jmitchell@apache.org
> Skype: jmitchtx
> 
> 
> 
> On Jul 7, 2005, at 6:57 PM, Sean Schofield wrote:
> 
> > Is the struts team still using ant's scp task to do the nightlies?  I
> > am getting an "auth" failure.  I think this is related to the OS
> > upgrade on minotaur.  I had to switch to SSH2 for all of my putty
> > sessions.
> >
> > TIA,
> > sean
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > For additional commands, e-mail: dev-help@struts.apache.org
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: [ot] Can't get ant's scp to work

Posted by James Mitchell <jm...@apache.org>.
I use shell script to scp the nightlies built via Maven.  Everything  
(and mean *everything*, including a copy of the actual script) is in  
svn if you care to see how I do it.

http://svn.apache.org/viewcvs.cgi/struts/build/trunk/maven- 
nightly.sh.current?rev=159772&view=markup


--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM:   jmitchtx
Yahoo: jmitchtx
MSN:   jmitchell@apache.org
Skype: jmitchtx



On Jul 7, 2005, at 6:57 PM, Sean Schofield wrote:

> Is the struts team still using ant's scp task to do the nightlies?  I
> am getting an "auth" failure.  I think this is related to the OS
> upgrade on minotaur.  I had to switch to SSH2 for all of my putty
> sessions.
>
> TIA,
> sean
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: [ot] Can't get ant's scp to work

Posted by Craig McClanahan <cr...@gmail.com>.
Sean,

One thing to double check is the permissions on your .ssh directory on
the server, as well as the permissions on the files inside it.  SSH is
hyper sensitive to this sort of thing, and its not always documented.

Check the settings on my home directory (~/craigmcc) and you'll be
able to see what works for me.

Craig

On 7/7/05, Craig McClanahan <cr...@gmail.com> wrote:
> On 7/7/05, Sean Schofield <se...@gmail.com> wrote:
> > > I am, for the ones that I build (Jakarta Commons, Struts-Faces, and Shale).
> >
> > That's what I thought.  And you are not running into any auth problems
> > with the scp task?
> 
> Nope ... it continues to upload things without problems.
> 
> >
> > > Craig
> >
> > sean
> >
> 
> Craig
> 
> 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > For additional commands, e-mail: dev-help@struts.apache.org
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: [ot] Can't get ant's scp to work

Posted by Craig McClanahan <cr...@gmail.com>.
On 7/7/05, Sean Schofield <se...@gmail.com> wrote:
> > I am, for the ones that I build (Jakarta Commons, Struts-Faces, and Shale).
> 
> That's what I thought.  And you are not running into any auth problems
> with the scp task?

Nope ... it continues to upload things without problems.

> 
> > Craig
> 
> sean
> 

Craig


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: [ot] Can't get ant's scp to work

Posted by Sean Schofield <se...@gmail.com>.
> I am, for the ones that I build (Jakarta Commons, Struts-Faces, and Shale).

That's what I thought.  And you are not running into any auth problems
with the scp task?

> Craig

sean

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: [ot] Can't get ant's scp to work

Posted by Craig McClanahan <cr...@gmail.com>.
On 7/7/05, Sean Schofield <se...@gmail.com> wrote:
> Is the struts team still using ant's scp task to do the nightlies?

I am, for the ones that I build (Jakarta Commons, Struts-Faces, and Shale).

>  I am getting an "auth" failure.  I think this is related to the OS
> upgrade on minotaur.  I had to switch to SSH2 for all of my putty
> sessions.
> 

That seems quitely likely to be necessary.  I was using SSH2 already,
so wasn't affected.

> TIA,
> sean
> 

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org