The 
ssgscpsetup
 command is used to configure the destination server for the SSGSCP connectivity type. When running this command, a new private Pre-Shared Key (PSK) will be generated and displayed. You must make a note of this new private key as it will be required by your server configuration to authorize the gateway.
Syntax
ssgscpsetup <Server Hostname or IP | gwmgr> [Port]
-   <Server Hostname or IP>: The hostname or IP address of the SSGSCP server to connect to.
-    gwmgr: A special keyword to send measurements directly to the Gateway Manager for live viewing in the web interface.
-    [Port]: The UDP port that the SSGSCP server is listening on. Defaults to 1818.
Example 1: Setting up a custom server
This command configures the gateway to send data to 
my-server.com
 on port 1818 and generates a new key.
ssgscpsetup my-server.com 1818
SSGSCP server configuration set
A new private key has been generated. Keep this secure:
67 82 60 ef 97 f3 ae d8 b2 19 f7 28 85 cf c9 9a b7 ba 96 a1 41 51 d2 e9 2a af 93 36 c5 b7 6a d1
Example 2: Sending data to Gateway Manager for testing
This command configures the gateway to send measurements to the Gateway Manager.
 Note: This will erase any previously configured custom server key. You will need to run the setup command again to reconnect to your custom server.
ssgscpsetup gwmgr