Ssh2.0 Client Configuration Commands; Display Ssh Client Source - HP 3600 v2 Series Command Reference Manual

Hide thumbs Also See for 3600 v2 Series:
Table of Contents

Advertisement

You can change the authentication method and public key of an SSH user when the user is
communicating with the SSH server. However, your changes take effect only after the user logs out and
logs in again.
If an SFTP user has been assigned a public key, it is necessary to set a working folder for the user.
The working folder of an SFTP user depends on the user authentication method. For a user using only
password authentication, the working folder is the AAA authorized one. For a user using only publickey
authentication or using both publickey authentication and password authentication, the working folder is
the one set by using the ssh user command.
Related commands: display ssh user-information.
Examples
# Create an SSH user named user1, setting the service type as sftp, the authentication method as
publickey, the working directory of the SFTP server as flash:, and assigning a public key named key1 to
the user.
<Sysname> system-view
[Sysname] ssh user user1 service-type sftp authentication-type publickey assign publickey
key1 work-directory flash:

SSH2.0 client configuration commands

display ssh client source

Syntax
display ssh client source [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the display ssh client source command to display the source IP address or source interface
information on an SSH client.
If neither source IP address nor source interface is specified for the SSH client, the system displays the
message "Neither source IP address nor source interface was specified for the STelnet client."
Related commands: ssh client source.
256

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents