Re: ant exec task: ssh username contains spaces, how to escape?

2011-02-02 Thread Stein Inge Morisbak
That's what I thought also, but in practice it doesn't work, at least not on my machine (mac os x) I know about the sshexec task, but the problem with this task is that it is not possible to give options to the ssh command. I left that out in my example, but I need to give the '-tt' option to s

ant exec task: ssh username contains spaces, how to escape?

2011-02-01 Thread Stein Inge Morisbak
I am trying to call ssh using the ant exec task from maven. My problem is that I can't figure out how to escape spaces in usernames. I have tried: ... and also: ... and finally: ... but no luck :-( Any ideas?