210
C
HAPTER
15: SSH T
ERMINAL
S
ERVICES
BOTH the private AND public key MUST be in /home/user/ for OpenSSH to work.
result:
[root@localhost openssh-4.2p1]# ./ssh -2 -l 1 -i /home/user/ssh_rsa_key
192.168.0.131
SFTP Service
The following sections describe SFTP service.
SFTP Overview
Secure FTP (SFTP) is a new feature introduced in SSH 2.0.
SFTP is established on SSH connections to secure remote users’ login to the switch,
perform file management and file transfer (such as upgrade the system), and provide
secured data transfer. As an SFTP client, it allows you to securely log onto another
device to transfer files.
SFTP Server
Configuration
The following sections describe SFTP server configuration tasks:
■
Configuring service type for an SSH user
■
Enabling the SFTP server
■
Setting connection timeout time
Configuring service type for an SSH user
Enabling the SFTP server
Setting connection timeout time
After you set the timeout time for the SFTP user connection, the system will
automatically release the connection when the time is up.
Table 188
Configure service type for an SSH user
Operation
Command
Description
Enter system view
system-view
Configure service type for
an SSH user
ssh user
username
service-type {
telnet | sftp | all }
Optional
By default, the SSH service
type is
telnet
.
Table 189
Enable the SFTP server
Operation
Command
Description
Enter system view
system-view
-
Enable the SFTP server sftp server enable
Required
By default, the SFTP server is not enabled.
Table 190
Set connection timeout time
Operation
Command
Description
Enter system view
system-view
Set timeout time for the SFTP user
connection
sftp time-out
time-out-value
Required
By default, the connection timeout time is
10 minutes.
Содержание 5500 SI - Switch - Stackable
Страница 24: ...24 ABOUT THIS GUIDE...
Страница 30: ...30 CHAPTER 1 GETTING STARTED Figure 3 Setting up a New Connection Figure 4 Configuring the Port for Connection...
Страница 50: ...50 CHAPTER 1 GETTING STARTED...
Страница 54: ...54 CHAPTER 2 ADDRESS MANAGEMENT CONFIGURATION...
Страница 78: ...78 CHAPTER 3 PORT OPERATION...
Страница 88: ...88 CHAPTER 4 XRN CONFIGURATION...
Страница 122: ...122 CHAPTER 8 VLAN VPN CONFIGURATION...
Страница 216: ...216 CHAPTER 15 SSH TERMINAL SERVICES...
Страница 268: ...268 CHAPTER 16 IP ROUTING PROTOCOL OPERATION...
Страница 308: ...308 CHAPTER 17 NETWORK PROTOCOL OPERATION...
Страница 349: ...349...
Страница 350: ...350 CHAPTER 18 MULTICAST PROTOCOL...
Страница 522: ...522 CHAPTER 22 FILE SYSTEM MANAGEMENT...
Страница 584: ...584 CHAPTER 30 PASSWORD CONTROL CONFIGURATION OPERATIONS...
Страница 600: ...600 CHAPTER 31 MSDP CONFIGURATION...
Страница 614: ...614 CHAPTER 32 CLUSTERING...
Страница 670: ...670 CHAPTER C AUTHENTICATING THE SWITCH 5500 WITH CISCO SECURE ACS...