You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Maciej Mastalarczuk <mm...@hotmail.com> on 2006/05/15 08:37:21 UTC
site:deploy using scp
Hi,
I'm having a strange problem with deployment of the site via scp. Here is
what's in my pom.xml
(...)
<id>doc-site</id>
<name>Documentation Site</name>
<url>
scp://lara/opt/java-build/site/${artifactId}/${version}
</url>
(...)
The settings.xml contains:
(...)
<server>
<id>doc-site</id>
<username>mm</username>
<password>testp@ass</password>
</server>
(...)
Despite the fact the password is specified in settings.xml it still prompts
me for it during the deployment and works OK if the right password is
supplied. The target server runs sshd on Suse Linux 10.
The strange thing is when I try to deploy exectly the same site to the
Windows box (running sshd from Cygwin) it all works fine (I mean no prompt
and the site is deployed). Can't see why the two should be any different
from the scp client point of view.
Is this a bug in site plugin?
Regards
Maciej
_________________________________________________________________
Search for local singles online @ Lavalife - Click here
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D22141&_t=751140432&_r=emailtagline_may_search&_m=EXT
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: site:deploy using scp
Posted by n2000 <da...@googlemail.com>.
Thank you!
You have to change /etc/ssh/sshd_config on the server!
Maciej Mastalarczuk-3 wrote:
>
> Hi,
>
> Please don't worry about this post, I fixed it.
>
> For anyone interested:
> I had to set PasswordAuthentication to 'yes' in /etc/ssh/sshd_config as it
> defaults to 'no'. Seems to be happy now.
>
> Regards
>
> Maciej
>
>
>>From: "Maciej Mastalarczuk" <mm...@hotmail.com>
>>Reply-To: "Maven Users List" <us...@maven.apache.org>
>>To: users@maven.apache.org
>>Subject: site:deploy using scp
>>Date: Mon, 15 May 2006 14:37:21 +0800
>>
>>Hi,
>>
>>I'm having a strange problem with deployment of the site via scp. Here is
>>what's in my pom.xml
>>
>>(...)
>><id>doc-site</id>
>><name>Documentation Site</name>
>><url>
>> scp://lara/opt/java-build/site/${artifactId}/${version}
>></url>
>>(...)
>>
>>The settings.xml contains:
>>
>>(...)
>><server>
>> <id>doc-site</id>
>> <username>mm</username>
>> <password>testp@ass</password>
>></server>
>>(...)
>>
>>
>>Despite the fact the password is specified in settings.xml it still
prompts
>>me for it during the deployment and works OK if the right password is
>>supplied. The target server runs sshd on Suse Linux 10.
>>
>>The strange thing is when I try to deploy exectly the same site to the
>>Windows box (running sshd from Cygwin) it all works fine (I mean no prompt
>>and the site is deployed). Can't see why the two should be any different
>>from the scp client point of view.
>>
>>Is this a bug in site plugin?
>>
>>Regards
>>
>>Maciej
>>
>>_________________________________________________________________
>>Search for local singles online @ Lavalife - Click here
>>http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D22141&_t=751140432&_r=emailtagline_may_search&_m=EXT
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>
> _________________________________________________________________
> Search for local singles online @ Lavalife - Click here
> http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D22141&_t=751140432&_r=emailtagline_may_search&_m=EXT
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/site%3Adeploy-using-scp-tf1619186s177.html#a13860929
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: site:deploy using scp
Posted by Maciej Mastalarczuk <mm...@hotmail.com>.
Hi,
Please don't worry about this post, I fixed it.
For anyone interested:
I had to set PasswordAuthentication to 'yes' in /etc/ssh/sshd_config as it
defaults to 'no'. Seems to be happy now.
Regards
Maciej
>From: "Maciej Mastalarczuk" <mm...@hotmail.com>
>Reply-To: "Maven Users List" <us...@maven.apache.org>
>To: users@maven.apache.org
>Subject: site:deploy using scp
>Date: Mon, 15 May 2006 14:37:21 +0800
>
>Hi,
>
>I'm having a strange problem with deployment of the site via scp. Here is
>what's in my pom.xml
>
>(...)
><id>doc-site</id>
><name>Documentation Site</name>
><url>
> scp://lara/opt/java-build/site/${artifactId}/${version}
></url>
>(...)
>
>The settings.xml contains:
>
>(...)
><server>
> <id>doc-site</id>
> <username>mm</username>
> <password>testp@ass</password>
></server>
>(...)
>
>
>Despite the fact the password is specified in settings.xml it still prompts
>me for it during the deployment and works OK if the right password is
>supplied. The target server runs sshd on Suse Linux 10.
>
>The strange thing is when I try to deploy exectly the same site to the
>Windows box (running sshd from Cygwin) it all works fine (I mean no prompt
>and the site is deployed). Can't see why the two should be any different
>from the scp client point of view.
>
>Is this a bug in site plugin?
>
>Regards
>
>Maciej
>
>_________________________________________________________________
>Search for local singles online @ Lavalife - Click here
>http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D22141&_t=751140432&_r=emailtagline_may_search&_m=EXT
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
_________________________________________________________________
Search for local singles online @ Lavalife - Click here
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D22141&_t=751140432&_r=emailtagline_may_search&_m=EXT
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org