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 [email protected]:/config.text /root/config.text
[email protected]'s password:
config.text 100% 1506 1.5KB/s 00:00
Read from remote host 192.168.195.188: Connection reset by peer
Summary of Contents for RG-S2900G-E Series
Page 1: ...RG S2900G E Series Switch RGOS Configuration Guide Release 10 4 2b12 p1 ...
Page 91: ...Configuration Guide Configuring PoE Configuration ...
Page 133: ...Configuration Guide EEE Configuration ...
Page 319: ...Configuration Guide QinQ Configuration ...
Page 408: ......
Page 409: ...IP Routing Configuration 1 Static Route Configuration ...
Page 412: ......
Page 413: ...Multicast Configuration 1 IGMP Snooping Configuration 2 MLD Snooping Configuration ...
Page 757: ......
Page 758: ...ACL QoS Configuration 1 Access Control List Configuration 2 QoS Configuration ...
Page 801: ...Reliability Configuration 1 RLDP Configuration 2 TPP Configuration 3 SEM Configuration ...
Page 901: ...Configuration Guide ERSPAN Configuration ...
Page 902: ...Web based Configuration 1 Web based Configuration ...