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.
Summary of Contents for 5500 SI - Switch - Stackable
Page 24: ...24 ABOUT THIS GUIDE...
Page 50: ...50 CHAPTER 1 GETTING STARTED...
Page 54: ...54 CHAPTER 2 ADDRESS MANAGEMENT CONFIGURATION...
Page 78: ...78 CHAPTER 3 PORT OPERATION...
Page 88: ...88 CHAPTER 4 XRN CONFIGURATION...
Page 122: ...122 CHAPTER 8 VLAN VPN CONFIGURATION...
Page 216: ...216 CHAPTER 15 SSH TERMINAL SERVICES...
Page 268: ...268 CHAPTER 16 IP ROUTING PROTOCOL OPERATION...
Page 308: ...308 CHAPTER 17 NETWORK PROTOCOL OPERATION...
Page 349: ...349...
Page 350: ...350 CHAPTER 18 MULTICAST PROTOCOL...
Page 522: ...522 CHAPTER 22 FILE SYSTEM MANAGEMENT...
Page 584: ...584 CHAPTER 30 PASSWORD CONTROL CONFIGURATION OPERATIONS...
Page 600: ...600 CHAPTER 31 MSDP CONFIGURATION...
Page 614: ...614 CHAPTER 32 CLUSTERING...
Page 670: ...670 CHAPTER C AUTHENTICATING THE SWITCH 5500 WITH CISCO SECURE ACS...