Knut Anders Hatlen wrote:
Rick Hillegas <[EMAIL PROTECTED]> writes:
I am trying to deploy the Derby jars to the maven repository as
described in step (4) of the instructions for "After a successful
vote" at
http://wiki.apache.org/db-derby/DerbySnapshotOrRelease#head-60891cacca1830fb413f25400647daa1436c21df
Specifically, I am at step (4e), attempting this command:
maven multiproject:deploy
I am seeing the following error:
Caused by: org.apache.maven.wagon.CommandExecutionException: Exit code
255 - Permission denied (publickey,keyboard-interactive).
at
org.apache.maven.wagon.providers.ssh.external.ScpExternalWagon.executeCommand(ScpExternalWagon.java:145)
at
org.apache.maven.wagon.providers.ssh.external.ScpExternalWagon.executeCommand(ScpExternalWagon.java:326)
at
org.apache.maven.wagon.providers.ssh.external.ScpExternalWagon.put(ScpExternalWagon.java:286)
The stack trace plus a little searching suggest that this is a scp
error. For the record, I am running on Mac OS X version 10.5.4. Also
for the record, the following standalone scp command does work for me
(after supplying my password when prompted):
scp ~/junk/glorp [EMAIL PROTECTED]:/home/rhillegas/remoteGlorp
I would appreciate advice about how to move past this problem.
I think you need to set up public key authentication so that you are not
prompted for a password. Here's the quick way to do it:
$ ssh-keygen -t dsa
--> press ENTER when prompted for a pass-phrase
$ scp ~/.ssh/id_dsa.pub [EMAIL PROTECTED]:
...
$ ssh [EMAIL PROTECTED]
...
minotaur$ cat id_dsa.pub >> .ssh/authorized_keys
Now you should be able to log on without being prompted.
Thanks, Knut. I'll try this for the next release I volunteer to cat-herd.
Cheers,
-Rick