AO Logo
 
  
  
  
With Username
With Properties
AO
AO Industries, Inc.
Application Infrastructure ProviderApplication Infrastructure Provider
Sign UpWhat's NewClient AreaContact UsSite Map
 
your location:   home page ··· aoserv platform ··· software components ··· aoserv client ··· how to ··· establishing a connection ··· connecting with username and password
Connecting With Username and Password

Description
If the username and password are not defined in the aoserv-client.properties file or a different username and password is desired, connections may be established using a specific username and password.

AOSH Commands
First, log into the server using either SSH or Telnet, preferably SSH. Once authenticated, type:

For interactive mode: aosh -i
For script mode: aosh

You will be prompted for your username and password as the shell starts.

Simple API
 
import com.aoindustries.aoserv.client.SimpleAOClient; 

// ... 

String username="my_username";
String password="my_strong_password";
SimpleAOClient aoClient=new SimpleAOClient(username, password);

// ... 

Full API
 
import com.aoindustries.aoserv.client.*; 

// ... 

String username="my_username";
String password="my_strong_password";
AOServConnector aoConn=new AOServConnector(username, password);

// ... 
Copyright © 2000-2025 AO Industries, Inc.