beautypg.com

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

Page 1409

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.27

ssh

This command initiates a Secure Shell connection to a remote SSH server.

If the server requests a password for the user login, the user needs to type in the correct
password on “Password:” prompt.

SSH client identifies the remote SSH server by its public key registered on the client device.
If the server identification is changed, server verification fails. If the public key of the server
has been changed, the public key of the server must be explicitly added to the known
host database.

Syntax

ssh [ip|ipv6][{[user <username>]|[port <1-65535>]|[version {1|

2]}}] <hostname> [<line>]

Note

Note that any hostname specified with ssh cannot begin with a hyphen (-)
character.

Parameter

Description

ip

Specify IPv4 SSH.

ipv6

Specify IPv6 SSH.

user

Login user. If user is specified, the username is used for login to the
remote SSH server when user authentication is required. Otherwise
the current user name is used.

<username>

User name to login on the remote server.

port

SSH server port. If port is specified, the SSH client connects to the
remote SSH server with the specified TCP port. Other- wise, the
client port configured by “ssh client” command or the default TCP
port (22) is used.

<1-65535>

TCP port.

version

SSH client version. If version is specified, the SSH client supports
only the specified SSH version. By default, SSH client uses SSHv2
first. If the server does not support SSHv2, it will try SSHv1. The
default version can be configured by “ssh client” command.

1

Use SSH version 1.

2

Use SSH version 2.