I�m using version 3.2.0 of the SSH Client.But it is not possible to use the 
deploy:artefact goal successfully.

I call looks like:

 [exec] [DEBUG] Execute:Java13CommandLauncher: Executing 'ssh2' with arguments:
'-l'
'ria'
'bewaehrung'
'cd /tmp/ria/maven/repository/maven-javacc-plugin/jars; chmod g+w 
maven-javacc-plugin-3.1.jar; chgrp users maven-javacc-plugin-3.1.jar' 

but it blocks the console and never returns :-(
I tried to call this command line directly from the console and figured out that the ' 
might me a problem.

The following call doenst work (the directory exists):

>ssh2 -l x host 'cd /tmp/ria/maven/repository/maven-javacc-plugin/jars'
bash: No such file or directory

But these calls work

>ssh2 -l x host cd /tmp/ria/maven/repository/maven-javacc-plugin/jars
>ssh2 -l x host "cd /tmp/ria/maven/repository/maven-javacc-plugin/jars"

Seems that if the command includes a space and uses the ' it it not corrent 
interpreted by the ssh2 or the bash.

Thanks
Jens Zastrow

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to