beautypg.com

Clear ssh, Clear ssh {<1-65535>|all – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1385

background image

Secure Shell (SSH) Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

54.3

clear ssh

This command deletes Secure Shell sessions currently active on the device. This includes
both incoming and outgoing sessions. The deleted sessions are closed. You can only
delete an SSH session if you are a system manager or the user who initiated the session. If
all is specified then all active SSH sessions are deleted.

Syntax

clear ssh {<1-65535>|all}

Mode

Privileged Exec

Examples

To stop the current SSH session 123, use the command:

To stop all SSH sessions active on the device, use the command:

Related Commands

service ssh
ssh

Parameters

Description

<1-65535>

Specify a session ID in the range 1 to 65535 to delete a specific session.

all

Delete all SSH sessions.

awplus#

clear ssh 123

awplus#

clear ssh all