![HP NonStop SSH 544701-014 Reference Manual Download Page 163](http://html.mh-extra.com/html/hp/nonstop-ssh-544701-014/nonstop-ssh-544701-014_reference-manual_165151163.webp)
HP NonStop SSH Reference Manual
SSHCOM Command Reference
•
163
Specifies a pair of host addresses or name and port ranges separated by a colon. A port range can be either one port, one
port range or a list of port ranges separated by '+' and enclosed in brackets.
COMMENT
Enables users to enter free text to describe the entity or provide a short explanation of the intended use of the entity. The
whole comment text must be enclosed in double quotes if the comment includes spaces. The content will not be used for
any processing.
CONNECT-FROM
The attribute CONNECT-FROM restricts the host systems a user can connect from. Whenever an incoming connection
for the user is accepted, the CONNECT-FROM restrictions are applied.
The value can be one host pattern or a list of patterns used to match the address or name of the client system connecting
SSH2 on NonStop server. The format of each pattern and the pattern matching done is the same as in OpenSSH for
parameter from=. If a list is specified, it must be enclosed in parentheses.
One pattern represents a host name or its IP address and can include wildcard characters '*' (matching any number of
characters) and '?' (matching exactly one character). A pattern may be prefixed by '~' indicating negation, that is, if the
matching pattern is preceded by a tilde, the incoming connection will be rejected.
Examples for valid CONNECT-FROM values include:
103.10.0.37
dev*
(34.45.56.*, ~34.45.56.12)
(201.30.*.*, tandem1, 120.10.20.?, ~ 120.10.20.7)
CONNECT-TO
The CONNECT-TO attribute restricts user access, allowing user-initiated outgoing connections only to the configured
host/port combinations. The CONNECT-TO restrictions are applied whenever the user tries to connect via SSH2 using
the SSH, SSHOSS, SFTP and SFTPOSS clients.
The value for this attribute can be one host/port range or a list of host/ port ranges. A comma-separated list must be
enclosed in parentheses.
Each host/port range is a pair of host and port range, separated by a colon, <host>:<port-range>. A port range can be a
single port, a single port range or a list of ports and port ranges separated by + and enclosed in brackets.
Examples for valid values for CONNECT-TO include:
103.10.0.47:22
1.2.3.4:1025-1999
yourhost.domain.com:[2013]
abc.domain.com:[2013-2100]
(xyz.domain.com:[22 + 2013-2100 + 5000-5099], 4.5.6.7:[300-301 + 5555])
FORWARD-FROM
The attribute FORWARD-FROM restricts a user’s ability to do port forwarding. It restricts the set of hosts that can use
forwarding tunnels opened by a specific user.
The value can be one host pattern or a list of patterns used to match the address or name of the client system connecting
SSH2 on a NonStop server.
Please see the description for the CONNECT-FROM attribute for examples.
LIKE
When specified, the new restriction profile record is first initialized with the values taken from the <existing-restriction-
profile-name> restriction profile record. Then the new restriction profile name and any other attributes specified in the
ADD RESTRICTION-PROFILE command are applied before the new restriction profile record is added.
PERMIT-LISTEN
Summary of Contents for NonStop SSH 544701-014
Page 12: ...xii Contents HP NonStop SSH Reference Manual ...
Page 24: ...24 Preface HP NonStop SSH Reference Manual ...
Page 30: ...30 Introduction HP NonStop SSH Reference Manual ...
Page 46: ...46 Installation Quick Start HP NonStop SSH Reference Manual ...
Page 132: ...132 The SSH User Database HP NonStop SSH Reference Manual ...
Page 214: ...214 SSH and SFTP Client Reference HP NonStop SSH Reference Manual ...
Page 278: ...278 STN Reference HP NonStop SSH Reference Manual ...
Page 298: ...298 Monitoring and Auditing HP NonStop SSH Reference Manual ...
Page 302: ...302 Performance Considerations HP NonStop SSH Reference Manual ...