Specifying the source IP address for SSH packets
As a best practice, specify the IP address of the loopback interface as the source interface for SSH packets for the following purposes:
Ensuring the communication between the Stelnet client and the Stelnet server.
Improving the manageability of Stelnet clients in authentication service.
To specify the source IP address for SSH packets:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Specify the source address for SSH packets. |
| By default, the source IP address for SSH packets is not configured. For IPv4 SSH packets, the device uses the primary IPv4 address of the output interface specified in the routing entry as the source address of the packets. For IPv6 SSH packets, the device automatically selects an IPv6 address as the source address of the packets in compliance with RFC 3484. |