3Com 5500-SI Switch User Manual


 
210 CHAPTER 15: SSH TERMINAL SERVICES
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.