OPEN Command

HSI Version: 

All

Purpose: 

Open new HPSS server connection 

Aliases: 

CONNECT

Command Format: 

{open | [conn]ect}

  [-A auth_method]

  [-c credentials cache filename] (kerberos)

  [-d driveletter:] (note ":" is optional)

  [-h remote host name or IP address]

  [-k password-file (or keytab-file) ]

  [-l principal]

  [-p portnumber] (default: 1219) 

  [-q ]

  [-s sitename*]

*list of sitenames defined in the the hsirc or ~/.hsirc file can be obtained by using the "lssite" command. 

Options: 

-A: Use the specified authentication type, e.g. "DCE"
-c: see above
-d: Virtual drive letter to which this connection will be mapped.
-h: see above
-k: see above
-l: Log in as "principal" on the remote server, e.g. "-l starbuck".
-p: Remote port number on which to attempt a connection
-q: "quiet" mode (no Message of The Day) 
-s: Name of remote site, as specified in a stanza within the hsirc file 

Keywords: 

 

Usage Notes: 

The virtual drive letter provides a convenient shorthand method of accessing files on the remote system, e.g. "A:/remote_hpss/pathname"

If the "-s site" or "-d drive:" option(s) are used, then HSI will attempt to locate a stanza within the hsirc file that contains information to help automate the login process to the remote site. If possible, settings for the drive letter, port, server host, login principal, authentication method, and related files (e.g. the Kerberos credentials cache pathname) will be used if specified in the hsirc stanza. 

Any or all parameters contained in the hsirc stanza can be overridden by command line options. 

If -d is not specified and cannot be found in an hsirc stanza, then HSI will choose the lowest (alphabetically sorted without regard to case) available drive letter. 

Example: 

open -l queequeg -A kerberos -d A hpss.remote.host

Related Command(s): 

SWITCH, LSCON, CLOSE