Heya, as the neo4j-shell is not only available via the shell port and RMI but also as REST endpoint which will participate in the basic-auth of the proxy, it is as easy as wrapping curl in a bash-script, I thought I do it for the fun of it.
https://gist.github.com/jexp/8213614 Have fun Michael Sample session: sh ~/bin/neo.sh -h neo4jconsole.sb01.stations.graphenedb.com:24789 -u neo4j_console:<pass> neo4j-sh (*)$ ls Not currently standing on any entity. neo4j-sh (*)$ cd 1 neo4j-sh (*)$ match n > return count(*); +----------+ | count(*) | +----------+ | 4749 | +----------+ 1 row 918 ms neo4j-sh (*)$ Am 31.12.2013 um 23:28 schrieb Wes Freeman <[email protected]>: > Yeah, very slick Nige. > > Wes > > On Tue, Dec 31, 2013 at 1:26 PM, Javad Karabi <[email protected]> wrote: > nigel, thank you! this is great! > > > On Tuesday, December 31, 2013 12:17:58 PM UTC-6, Nigel Small wrote: > Hi Javad > > I have made some adjustments to neotool > (http://book.py2neo.org/en/latest/neotool/) including a very basic shell mode > with auth support. This was specifically to help support GrapheneDB so might > be able to do what you want. > > Cheers > Nigel > > > On 31 December 2013 17:47, Javad Karabi <[email protected]> wrote: > i guess i should elaborate... > i need to connect to the neo4j service behind authentication, but neo4j-shell > doesnt seem to have an option for username or password. > does this mean neo4j-shell must be somehow wrapped in an auth mechanism? > > > On Tuesday, December 31, 2013 11:38:45 AM UTC-6, Javad Karabi wrote: > has anyone been able to connect to graphene via neo4j-shell? > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > For more options, visit https://groups.google.com/groups/opt_out. > > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
