Allied Telesis AT-9900 用户手册

下载
页码 232
142
Secure Copy (SCP)
Release Note
Software Version 2.8.1
C613-10477-00 REV B
Secure Copy (SCP)
This Software Version includes the additional method of Secure Copy (SCP) to 
load files to and from the router or switch. This section describes the 
enhancement in:
The new and modified commands to implement SCP are described in 
.
Configuring Secure Copy
Secure Copy (SCP) provides a way of securely copying files between the router 
or switch and remote machines. SCP runs over a Secure Shell (SSH) connection, 
which authenticates the user and handles data security. The router or switch 
can act as both a SSH client and server, and can be configured to enable or 
disable SCP file copying.
Configuring the Server
For SCP clients to connect to the router or switch, both SSH and SCP must be 
enabled on the SSH server. If SSH is disabled, SCP will not work. Use the 
command: 
enable ssh server scp=enabled [other options]
Secure copy can be disabled on the SSH server. This allows you to disable SCP 
while still allowing other SSH sessions. Use either of these commands:
enable ssh server scp=disabled [other options]
set ssh server scp=disabled [other options]
You can check the server configuration for SCP and SSH by using the 
command:
show ssh
Further details on configuring the SSH server can be found in the Secure Shell 
chapter of the Software Reference.
Configuring the Client
The new set ssh client command allows you to specify timeout options when 
the router or switch is acting as a SSH client. This command also allows you to 
specify whether you want the new file copy to alter its modification time to the 
time of transfer, or keep the modification time of the original file. To change 
these settings, use the command:
set ssh client [idletimeout=0..4294967295] 
[logintimeout=1..600] [preservemtime={enabled|disabled}]