You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brill Pappin (JIRA)" <ji...@codehaus.org> on 2006/12/20 15:23:40 UTC

[jira] Commented: (MSITE-143) SCP works for deploy goal, but not for site-deploy

    [ http://jira.codehaus.org/browse/MSITE-143?page=comments#action_83046 ] 
            
Brill Pappin commented on MSITE-143:
------------------------------------

I'm having the same problem.

It seems to be ignoring the information in the server section of the settings.xml file... specifically it's ignoring the sshExecutable and scpExecutable attributes of the server config (notice that the key is found and used however).

In my case I'm deploying with putty on windows. Deploy works but site-deploy does not.

[INFO] [site:deploy]
Using private key: C:\mypath\mykey.ppk
scpexe://myhost/data/maven/site/restart - Session: Opened
Executing command: ssh -i "C:\mypath\mykey.ppk" -o "
BatchMode yes" myuser@myhost/ "mkdir -p /data/maven/site/restart/."

'ssh' is not recognized as an internal or external command,
operable program or batch file.

scpexe://myhost/data/maven/site/restart - Session: Disconnecting
scpexe://myhost/data/maven/site/restart - Session: Disconnected


> SCP works for deploy goal, but not for site-deploy
> --------------------------------------------------
>
>                 Key: MSITE-143
>                 URL: http://jira.codehaus.org/browse/MSITE-143
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-5
>            Reporter: Jacob Robertson
>
> The linux admins did everything necessary to get the deploy goal to work, and now I have to go back to them and try and figure out why the "site-deploy" goal says "Auth failed".  Why does deploy work just fine with scp, but not site-deploy?  My environment is such that my deploy repository and my deploy site directories are in the same parent directory, and have the exact same permissions.  But one goal fails to upload, and the other doesn't...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira