Home >

LunaSH Command Reference Guide > LunaSH Commands > hsm > hsm ped connect

hsm ped connect

Connect to a remote PED. This command instructs PedClient to attempt to connect to the Remote PED Server at the IP address and port specified on the command line, or configured using the hsm ped set command. See hsm ped set for more information.

Behavior when defaults are configured using hsm ped set

The hsm ped set command allows you to configure a default IP address and/or port for the Remote PED Server. These values are used if they are not specified when you issue the hsm ped connect command. The behavior of the hsm ped connect command when defaults are configured using hsm ped set is as follows:

Values set with hsm ped set Parameters specified by hsm ped connect IP address used Port used
IP address and port None IP address configured with hsm ped set. Port configured with hsm ped set.
IP address IP address specified by hsm ped connect Port configured with hsm ped set.
Port IP address configured with hsm ped set. Port specified by hsm ped connect
IP address and port IP address specified by hsm ped connect Port specified by hsm ped connect
IP address only None IP address configured with hsm ped set. Port 1503 (default).
IP address IP address specified by hsm ped connect Port 1503 (default).
Port IP address configured with hsm ped set. Port specified by hsm ped connect.
IP address and port IP address specified by hsm ped connect Port specified by hsm ped connect.
Port only None Error. You must use the -ip parameter to specify an IP address. Port configured with hsm ped set.
IP address IP address specified by hsm ped connect Port configured with hsm ped set.
Port Error. You must use the -ip parameter to specify an IP address.. Port specified by hsm ped connect
IP address and port IP address specified by hsm ped connect Port specified by hsm ped connect
Behavior when no defaults are configured using hsm ped set

If no defaults are configured using hsm ped set, you must specifiy at least an IP address. If no port is specified, the default port (1503) is used.

Note:  To set up or erase a PED vector, or to make or break the Remote PED connection, on an HSM that is externally connected to the SafeNet Network HSM, use the "-serial" option to specify the target HSM. If "-serial" is not specified, then the command acts on the SafeNet Network HSM's internal HSM card.

Syntax

hsm ped connect [-ip <ip_address>] [-port <port>] [-serial <serial_num>] [-force]

Parameter Shortcut Description
-force -f Force the action without prompting.
-ip -i Specifies the IP Address of the
-port -p

Network Port (0-65535).

Default: 1503

-serial -s Token Serial Number

Example

lunash:>hsm ped connect -ip 192.20.10.155
 
Luna PED operation required to connect to Remote PED - use orange PED key(s).
Ped Client Version 1.0.5 (10005)  
Ped Client launched in startup mode.  
PED client local IP : 192.20.9.77/192.168.255.223  
Starting background process  
Background process started  
Ped Client Process created, exiting this process.
 
Command Result : 0 (Success)