3com 5500-ei pwr Guia De Referência
1-9
[Sysname] ssh user client authentication-type publickey
# Configure SFTP as the service type for the SSH user.
[Sysname] ssh user client service-type sftp
# Assign the public key test for the SSH user.
[Sysname] ssh user client assign publickey test
# Display information about the SSH user configured on the SSH server.
[Sysname] display ssh user-information
Username Authentication-type User-public-key-name Service-type
client publickey test sftp
display ssh2 source-ip
Syntax
display ssh2 source-ip
View
Any view
Parameters
None
Description
Use the display ssh2 source-ip command to display the current source IP address or the IP address
of the source interface specified for the SSH client. If neither source IP address nor source interface is
specified, the command displays 0.0.0.0.
Related commands: ssh2 source-ip.
Examples
# Display the current source IP address specified for the SSH Client.
<Sysname> display ssh2 source-ip
The source IP you specified is 192.168.0.1
display ssh-server source-ip
Syntax
display ssh-server source-ip
View
Any view
Parameters
None