443
Syntax
free ssh
{
user-ip
{
ip-address
|
ipv6
ipv6-address
} [
port
port-number
] |
user-pid
pid-number
|
username
username
}
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
user-ip
: Specifies the user IP address of the SSH sessions to be disconnected.
ip-address:
Specifies the user IPv4 address of the SSH sessions to be disconnected.
ipv6
ipv6-address:
Specifies the user IPv6 address of the SSH sessions to be disconnected.
port
port-number
: Specifies the source port of the SSH session to be disconnected, in the range of 1
to 65535. If you do not specify a source port, this command disconnects all SSH sessions using the
specified IP address.
user-pid
pid-number
: Specifies the user process ID of the SSH session to be disconnected, in the
range of 1 to 2147483647. To view the user process ID of an SSH session, use the
display ssh
server session
command.
username
username
: Specifies the username of the SSH session to be disconnected. To view the
username of an SSH session, use the
display ssh server session
command.
Examples
# Disconnect the SSH sessions with user IPv4 address 192.168.15.45.
<Sysname> free ssh user-ip 192.168.15.45
Releasing SSH connection. Continue? [Y/N]:y
# Disconnect the SSH sessions with user IPv6 address 2000::11.
<Sysname> free ssh user-ip ipv6 2000::11
Releasing SSH connection. Continue? [Y/N]:y
# Disconnect the SSH session with user process ID 417.
<Sysname> free ssh user-pid 417
Releasing SSH connection. Continue? [Y/N]:y
# Disconnect the SSH session with username
sshuser
.
<Sysname> free ssh username sshuser
Releasing SSH connection. Continue? [Y/N]:y
Related commands
display ssh server session
scp server enable
Use
scp server enable
to enable the SCP server.
Use
undo scp server enable
to disable the SCP server.
Syntax
scp server enable
undo scp server enable
Содержание FlexNetwork 7500 Series
Страница 350: ...335 Related commands display port security port security enable ...
Страница 379: ...364 Sysname system view Sysname keychain abc mode absolute Sysname keychain abc tcp kind 252 ...
Страница 519: ...504 Related commands display ssh2 algorithm ssh2 algorithm cipher ssh2 algorithm key exchange ssh2 algorithm mac ...