Appendix B: VSA Commands

Virtual Scan Appliance

The following are optional commands you can use to configure or reconfigure your VSA, or troubleshoot connectivity. Use the command help to call the list of available commands. Enter help before any of the following commands to get information on that specific command:
Command Action
continue Returns the user to the VSA setup process.
credentials Sets the credentials used to connect to the midpoint.
debug Outputs to the screen the last 10 lines from the VPN connection log.
dhcp Changes the configuration from static IP address to DHCP.
help Shows a list of commands you can use.
last Returns a report of all the logins and logouts.
midpoint <ip.ip.ip.ip> Targets the IP address of the midpoint for your VSA.
ping <URL or ip.ip.ip.ip> Pings a remote host.
proxy Sets all proxy-related data, including type of proxy, network, and optional authentication details.
save Saves any changes after the initial setup of your VSA.
self_test Troubleshoots the VSA by:
  • Pinging Veracode IP addresses and hostnames.
  • Attempting to establish an SSL connection to the Veracode YUM repository.
  • Attempting to establish an SSL connection to the midpoint and Veracode.
shutdown Shuts down the VSA system. You should never shut down the VSA unless instructed by Veracode Services.
static Configures the VSA to use a static IP address instead of one provided via DHCP.
syslog_ng Manages the syslog-ng server on the VSA.
quit Exits the VSA console. The VSA continues to run and remain connected to the midpoint.
repo_test <route> Tests the connection to the Veracode YUM repository through the given route (all, direct, midpoint, or proxy).
reset Removes all configuration data, logs out the user from the VSA, and resets the appliance to its default state.
restart Restarts the VSA client connection. This command does not restart the VSA system, or reset the midpoint connection.
status Displays the connection status, midpoint IP, and local IP address of the VSA.
web <URL> Sends a web request to the specified URL. The URL must start with http:// or https://.