CLI 参考 > 配置管理命令 > si connect
  
si connect
establishes a connection to a Windchill RV&S Server
Synopsis
si connect [--hostname=server] [--port=number] [--password=password] [--user=name] [(-?|--usage)] [(-F file|--selectionFile=file)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [(-g|--gui)] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]]
Description
si connect establishes a connection to a Windchill RV&S Server host. Most commands implicitly connect to the host, this does so explicitly. For example
si connect --hostname=abcFinancial --port=7001 --user=jriley --password=jriley
connects to the abcFinancial server, logged in as jriley.
In fact, all the other commands call si connect to establish the connection. The client supports multiple connections to multiple servers.
* 
You can use si disconnect to disconnect from a Windchill RV&S Server host.
Options
This command takes the universal options available to all si commands, as well as some general options. See the options reference page for descriptions.
--hostname=server
identifies the name of the host server where the Windchill RV&S Server is located.
--password=password
identifies the password to use for connecting to the Windchill RV&S Server.
--port=number
identifies the port on the host server where the Windchill RV&S Server is located.
--user=name
identifies the user to use for connecting to the Windchill RV&S Server. This typically defaults to the name you have used to log into your client machine.
Diagnostics
See the diagnostics reference page for possible exit status values.
Preferences
Using si setprefs or si viewprefs, you are able to set or view the preference keys for this command.
See Also
Commands: si disconnect, si exit, si servers
Miscellaneous: diagnostics, options, preferences