601
If you specify multiple SSH redirect listening ports for an IP address, the most recent configuration
takes effect.
Examples
# Associate SSH redirect listening port 4000 with IP address 1.1.1.1.
<Sysname> system-view
[Sysname] ssh ip alias 1.1.1.1 4000
Related commands
ssh redirect disconnect
ssh redirect listen-port
ssh redirect disconnect
Use
ssh redirect disconnect
to terminate the redirected SSH connection.
Syntax
ssh redirect disconnect
Views
AUX line view
TTY line view
Predefined user roles
network-admin
Usage guidelines
The following matrix shows the command and hardware compatibility:
Hardware
Command compatibility
MSR954 (JH296A/JH297A/JH298A/JH299A/JH373A)
No
MSR958 (JH300A/JH301A)
No
MSR1002-4/1003-8S
Yes
MSR2003
Yes
MSR2004-24/2004-48
Yes
MSR3012/3024/3044/3064
No
MSR4060/4080
No
Examples
# Terminate the redirected SSH connection on TTY line 1.
<Sysname> system-view
[Sysname] line tty 1
[Sysname-line-tty1] ssh redirect disconnect
Related commands
ssh redirect enable