Hi,
This is my first email to Maven Users List. Hope I find a solution or help or pointer to solve my issue. I am trying to deploy my site data using scpexe:// I have already configured password less authenitication using rsa2. i.e. id_rsa and authorized_keys are configured. Since it does not complain about ssh errors, so my settings.xml is configured and distribution management for site is also correct I guess. <site> <id>m.website</id> <name>M Website</name> <url>scpexe://mobiletv.w.c/var/www/html/docs/${project.version}/modules< /url> </site> I used Cygwin to run "mvn site:site site:deploy" command and upload failed with a permission denied message like below. My remote host is a RHEL 5 desktop and I deploy from Windows XP (using Cygwin) [INFO] [site:deploy] scpexe://mobiletv.w.c/var/www/html/docs/3.3.14.1-SNAPSHOT/modules/mbs_ut ilities - Session: Opened Executing command: mkdir -p /var/www/html/docs/3.3.14.1-SNAPSHOT/modules/mbs_utilities/. Executing command: cmd.exe /X /C "ssh -i "C:\Documents and Settings\subirs\.ssh\id_rsa" -o "BatchMode yes" sub...@mobiletv.w.c "mkdir -p /var/www/html/docs/3.3.14.1-SNAPSHOT/modules/mbs_utilities/."" Permission denied (publickey,gssapi-with-mic,password). scpexe://mobiletv.w.c/var/www/html/docs/3.3.14.1-SNAPSHOT/modules/mbs_ut ilities - Session: Disconnecting scpexe://mobiletv.w.c/var/www/html/docs/3.3.14.1-SNAPSHOT/modules/mbs_ut ilities - Session: Disconnected [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error uploading site Embedded error: Error performing commands for file transfer Exit code 255 - Permission denied (publickey,gssapi-with-mic,password). [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 minutes 6 seconds [INFO] Finished at: Wed Aug 19 19:41:32 IST 2009 [INFO] Final Memory: 61M/254M [INFO] ------------------------------------------------------------------------ However if I use the same command from Cygwin command line it does not complain of anything. $> ssh sub...@mobiletv.w.c "mkdir -p /var/www/html/docs/3.3.14.1-SNAPSHOT/modules/mbs_utilities/." Enter passphrase for key 'C:\Documents and Settings\subirs\.ssh\id_rsa': If I give passphrase directory is also created successfully with the above command. So I guess there is some issue with Maven scp-exe wagon, but not able to figure out what it is... Any help appreciated. Subir S Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com