Checking The Configuration - Huawei Quidway S2700 Series Configuration Manual

Hide thumbs Also See for Quidway S2700 Series:
Table of Contents

Advertisement

Quidway S2700 Series Ethernet Switches
Configuration Guide - Basic Configuration
The system view is displayed.
Step 2 According to the address type of the SSH server, select and perform one of the two configurations
below.
l For IPv4 addresses,
l For IPv6 addresses,
Step 3 Run:
help [all | command-name ]
The SFTP client command help is displayed.
----End

9.6.8 Checking the Configuration

After configuring the SFTP client, you can view the global configuration of the SSH server.
Prerequisite
The configuration of the SFTP Client Function are complete.
Procedure
l
l
----End
Example
Run the display ssh server session command, and you can view that the client logs in from the
VTY4 through the sftp service in rsa authentication mode.
[Quidway] display ssh server session
Session 2:
Issue 01 (2011-07-15)
Run:
sftp [ -a source-address ] host-ipv4 [ port ] [ [ prefer_kex { dh_group1 |
dh_exchange_group } ] | [ prefer_ctos_cipher { des | 3des | aes128 } ] |
[ prefer_stoc_cipher { des | 3des | aes128 } ] | [ prefer_ctos_hmac { sha1 |
sha1_96 | md5 | md5_96 } ] | [ prefer_stoc_hmac { sha1 | sha1_96 | md5 |
*
md5_96 } ] ]
[ -ki aliveinterval [ -kc alivecountmax ] ]
You can log in to the SSH server through SFTP.
Run:
sftp ipv6 [ -a source-address ] host-ipv6 [ -i interface-type
number ] [ port ] [ [ prefer_kex { dh_group1 | dh_exchange_group } ] |
[ prefer_ctos_cipher { des | 3des | aes128 } ] | [ prefer_stoc_cipher { des |
3des | aes128 } ] | [ prefer_ctos_hmac { sha1 | sha1_96 | md5 | md5_96 } ] |
[ prefer_stoc_hmac { sha1 | sha1_96 | md5 | md5_96 } ] ]
[ -kc alivecountmax ] ]
Run the display ssh server-info command to check the mapping between the SSH server
and the RSA public key on the SSH client.
Run the display ssh server session command to check the session of the SSH client on the
SSH server.
Conn
Version
State
Username
Retry
CTOS Cipher
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
: VTY 4
: 2.0
: started
: client002
: 1
: aes128-cbc
9 Telnet and SSH
interface-
*
[ -ki aliveinterval
145

Advertisement

Table of Contents
loading

Table of Contents