EasyManua.ls Logo

Ruijie RG-S2900G-E Series - Page 609

Ruijie RG-S2900G-E Series
943 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configuration Guide SSH Terminal Service Configuration
In this way, the client can use SCP to connect to the server and transfer files.
The SCP server uses the SSH thread. When connecting the network device for
SCP transfer, the client uses a VTY connection. When you run the show user
command, you can find that the user type is SSH.
Operations on a Client
The SCP command is carried on both the Unix and Linux platforms. With
Ubuntu Linux as an example, the SCP command usage is described as
follows:
SCP command syntax:
scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 [...] [[user@]host2:]file2
Description about some options:
-1: uses the SSH1 version. If the value is not specified, SSH2 is used by
default.
-2: uses SSH2 by default.
-C: specifies that compression transfer is used.
-c: specifies the encryption algorithm that is used.
-r: specifies that an entire directory is transferred.
-i: specifies the key file that is used.
-l: restricts the transfer speed in Kbits.
For the description about other parameters, see the scp.0 file.
File transfer examples (all the following operations are performed on Ubuntu
7.10)
Example 1:
Specify the user name as test. Copy the config.text file from the network
device (IP address: 192.168.195.188) to the local /root directory.See the
following contents.
root@dhcpd:~# scp test@192.168.195.188:/config.text /root/config.text
test@192.168.195.188's password:
config.text 100% 1506 1.5KB/s 00:00
Read from remote host 192.168.195.188: Connection reset by peer

Table of Contents

Related product manuals