This week's book giveaway is in the Reactive Progamming forum. We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line! See this thread for details.
I'm having problems getting maven 2.0.9 deploy goal to work over ssh. Every time I trigger mvn deploy I'm being asked to provide password (about 6 times for each deploy). The client pc is a windows XP machine and the repository is running on a linux server. My settings.xml looks like this
Unfortunately I haven't got direct control over the server so I don't really know how ssh is configured (if the problem is on that end). I ran a similar test at home where the client pc was a winXP and I installed a default installation of openSSH on a debian linux box without changing any settings. I didn't have any problems running mvn deploy from the client machine which makes me wonder if something needs to be configured on the server side.
ssh uses Unix/Linux shell accounts, so the userid and password are as defined for interactive users. About the only gotcha would be if the account had been configured on the server in a way that denied shell logins - for example if the "login shell" assigned to the account was the "/bin/false" program instead of "/bin/sh".
Being persecuted doesn't in any way prove your righteousness or your beliefs. Many people get persecuted because they are repugnant or annoying. Or just because they can be.
posted 11 years ago
Thanks for your reply,
I'll need to check with sysadmin tomorrow. I can run putty and winscp from my computer but maybe that hasn't got anything to do with how the linux user accounts been set up in relation to my problem with mvn deploy.
First I wasn't sure if maven was reading the local settings.xml file but after adding invalid xml syntax to the settings.xml maven complained.
You ought to ventilate your mind and let the cobwebs out of it. Use this cup to catch the tiny ads: