3com 5500-ei pwr Reference Guide

Page of 1314
 
1-36 
If you specify to authenticate a client through public key on the server, the client needs to read the local 
private key when logging in to the SFTP server. Since both RSA and DSA are available for public key 
authentication, you need to use the identity-key key word to specify the algorithms to get correct local 
private key; otherwise you will fail to log in. 
Examples 
# Connect the SFTP server with the IP address 10.1.1.2. Use the default encryption algorithm.  
<Sysname> system-view 
System View: return to User View with Ctrl+Z. 
[Sysname]sftp 10.1.1.2 
Input Username: kk 
Trying 10.1.1.2... 
Press CTRL+K to abort 
Connected to 10.1.1.2 ... 
 
The Server is not authenticated. Do you continue access it?(Y/N):y 
Do you want to save the server's public key?(Y/N):y 
Enter password: 
 
sftp-client> 
sftp source-interface 
Syntax 
sftp source-interface interface-type interface-number 
undo sftp source-interface 
View 
System view 
Parameters 
interface-type: Type of a source interface. It can be loopback or VLAN interface.  
interface-number: Number of a source interface.  
Description 
Use the sftp source-interface command to specify a source interface for the SFTP client. If the 
specified interface does not exist, the system prompts that the configuration fails.  
Use the undo sftp source-interface command to remove the specified source interface. Then the 
client accesses the SFTP server with the local device address determined by the system.  
Examples 
# Specify VLAN-interface 1 as the source interface of the SFTP client.  
<Sysname> system-view 
System View: return to User View with Ctrl+Z. 
[Sysname] sftp source-interface Vlan-interface 1