 |  |  |  |  |  |  |  |  |  | DescriptionIf 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 CommandsFirst, 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. |
|