code: @Override
  	public org.apache.sshd.server.Command createCommand(final String command) {
  
  		if (command.startsWith("scp ")) {
  			return scp.createCommand(command);
  		}
  
  		if (command.startsWith("javascript ")) {
  			return new StructrConsoleCommand(securityContext, ConsoleMode.JavaScript, command.substring(11));
  		}
  
  		if (command.startsWith("structrscript ")) {
  			return new StructrConsoleCommand(securityContext, ConsoleMode.StructrScript, command.substring(14));
  		}
  
  		if (command.startsWith("cypher ")) {
  			return new StructrConsoleCommand(securityContext, ConsoleMode.Cypher, command.substring(7));
  		}
  
  		if (command.startsWith("admin ")) {
  			return new StructrConsoleCommand(securityContext, ConsoleMode.AdminShell, command.substring(6));
  		}
  
  		if (command.startsWith("rest ")) {
  			return new StructrConsoleCommand(securityContext, ConsoleMode.REST, command.substring(5));
  		}
  
  		throw new IllegalStateException("Unknown subsystem for command '" + command + "'");
  	}
docs: ----- interface CommandFactory -----