If you want to connect to a remote JBoss AS7 instance without installing AS7 on your local machine, you can use the CLI remote client jar. It is called jboss-cli-client.jar and it is located in <JBOSS_HOME>/bin/client.
The jboss-cli-client jar can be used to remotely manage a JBoss AS instance with CLI or jconsole. Copy jboss-cli-client.jar to your client machine.
Even though the jboss-cli-client jar was added starting with AS7.2, it still works with older AS7 versions. So it's a good way to get the benefit of the latest CLI code.
To Run CLI using jboss-cli-client.jar
java -jar <PATH TO jboss-cli-client.jar> [--help] [--version] [--controller=host:port]
[--gui] [--connect] [--file=file_path]
[--commands=command_or_operation1,command_or_operation2...]
[--command=command_or_operation]
[--user=username --password=password]
Use --help for an explanation of the CLI command line options.
To Run jconsole using jboss-cli-client.jar
jconsole -J-Djava.class.path=<PATH TO jconsole.jar>;<PATH TO tools.jar>;<PATH TO jboss-cli-client.jar>
Path to jconsole.jar and tools.jar is typically <JAVA_HOME>/lib/jconsole.jar and <JAVA_HOME>/lib/tools.jar.