beautypg.com

Show ssh – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1404

background image

Secure Shell (SSH) Commands

Software Reference for x310 Series Switches

54.22

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

show ssh

This command displays the active SSH sessions on the device, both incoming and
outgoing.

Syntax

show ssh

Mode

User Exec, Privileged Exec and Global Configuration

Example

To display the current SSH sessions on the device, use the command:

Output

Figure 54-6: Example output from the show ssh command

Related Commands

clear ssh

awplus#

show ssh

Secure Shell Sessions:
ID Type Mode Peer Host Username State Filename
----------------------------------------------------------------
414 ssh server 172.16.23.1 root open
456 ssh client 172.16.23.10 manager user-auth
459 scp client 172.16.23.12 root download 550dev_.awd
463 ssh client 5ffe:33fe:5632:ffbb:bc35:ddee:0101:ac51
manager user-auth

Table 54-6: Parameters in the output of the show ssh command

Parameter

Description

ID

Unique identifier for each SSH session.

Type

Session type; either SSH, SCP, or SFTP.

Mode

Whether the device is acting as an SSH client (client) or SSH server
(server) for the specified session.

Peer Host

The hostname or IP address of the remote server or client.

Username

Login user name of the server.

State

The current state of the SSH session. One of:

connecting

The device is looking for a remote server.

connected

The device is connected to the remote server.

accepted

The device has accepted a new session.

host-auth

host-to-host authentication is in progress.

user-auth

User authentication is in progress.

authenticated

User authentication is complete.

open

The session is in progress.

download

The user is downloading a file from the device.

upload

The user is uploading a file from the device.

closing

The user is terminating the session.

closed

The session is closed.

Filename

Local filename of the file that the user is downloading or uploading.