I've been looking at this, but I think at the moment karaf only supports 
password authentication to run commands.
https://github.com/jclouds/jclouds-karaf/blob/master/commands/src/main/java/org/jclouds/karaf/commands/compute/RunScriptBase.java#L82-L109

Apart from the `runscript` command, I think there's no other that requires 
credentials to access the node, so I don't know if we can test this right now.

We could open a new PR to add a "ssh key" parameter si authentication can be 
done using the key, but I have very limited knowledge of how karaf works. 
Perhaps @iocanel can help and/or explain if there is any limitation in using 
key auth. 

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/43#issuecomment-41255754

Reply via email to