Skip to main content

Command-line Options

 
-a [<device name>]
Adds a new device to the database. A device name can be specified on the command line or you will be asked for a name if not supplied.
 
-b
Use backup information to connect to the device.
 
-c "string"
Specify a semicolon separated list of commands to run on the device before exiting.
 
-cf <file>
Specify a text command file with one command per line to execute on the device before exiting.
 
-ck
Change the encryption key for your database.
 
-config
Update configuration settings.
 
-delete <name>
Delete a device from the database.
 
-df <file>
Specify a text device file with one device per line. This option can be used with either -c or -cf to implement commands on multiple devices in parallel.
 
-e <name>
Edit a device in the database.
 
-l
Enable logging for this session. Logging can also be enabled globally for all sessions in the configuration. For logging location, see -ld flag and/or configuration options.
 
-ld <directory>
Set the logging location for this session. The logging location can also be set globally in the configuration. If no location is set, log files will be saved in the current directory.
 
-license
Update the configuration file with your license information.
 
-nk
Disable sending keep alive characters for the session. Useful to override the default keep alive setting for ad hoc use cases.
 
-s <name>
Display information about a device excluding passwords.
 
-sp <name>
Display information about a device including passwords on screen.
 
-update
Manually check for updates.
 
-upgrade
Alias for -update
 
-x
Disables terminal settings that stop Connect running when there is no shell environment. If you need to schedule a change using cron, ensure you specify '-x' in the command.