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
Содержание 5500-EI PWR
Страница 43: ...2 6...
Страница 76: ...1 17...
Страница 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Страница 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Страница 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Страница 519: ...iii...
Страница 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Страница 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Страница 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Страница 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Страница 1111: ...ii xmodem get 3 18...
Страница 1314: ...A 44 Z...