Operating Files By Using Sftp Commands - Huawei netengine80e Configuration Manual

Hide thumbs Also See for netengine80e:
Table of Contents

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - Basic Configurations
the key exchange algorithm, encrypted algorithm and HMAC algorithm, and configure the
keepalive function.
Do as follows on the router that serves as an SSH client.
Procedure
Step 1 Run:
system-view
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,
----End

8.7.6 Operating Files by Using SFTP Commands

You can manage directories and files on the SSH server from the SFTP client, and check the
command help on the SFTP client.
Context
After logging in to the SSH server from the SFTP client, you can perform the following
operations on the SFTP client:
l
l
l
After logging in to the router that functions as an SSH client and entering the SFTP client view,
you can perform the following steps:
Issue 02 (2011-09-10)
Run:
sftp
[ -a source-address
[ port ] [ [ public-net | -vpn-instance vpn-instance-name ] | [ 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 } ] ]
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 ] ]
Create or delete a directory on the SSH server, and display the current working directory,
the specified directory and information about the file in the specified directory.
Change a file name, delete a file, display a file list, and upload or download a file.
Displaying the SFTP client command help.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
| -i interface-type interface-number ] host-ipv4
*
[ -ki aliveinterval [ -kc
8 Accessing Another Device
interface-
*
[ -ki aliveinterval
181

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netengine40e

Table of Contents