2 Replies Latest reply on Jul 20, 2012 2:38 PM by kaioho

    Jboss 7.1.0 Final Jboss cli remote non-interactive authentication

    kaioho

      I was wondering if is possible to remotely authenticate using jboss cli non interactive mode.

      For example, i can run this locally

       

      ./bin/jboss-cli.sh -c command=":read-resource(include-runtime=true, recursive=true, recursive-depth=10)"

       

      but if i tries to run this remotely

       

      -bash-3.2$ ./jboss-cli.sh -c controller=192.168.1.101 command=":read-resource(include-runtime=true, recursive=true, recursive-depth=10)"

      Authenticating against security realm: ManagementRealm

      Username:

       

      I am wondering if there is a command to embed the username and password so i dont have to interactively enter a usename and password

       

       

      thanks