1268
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
C613-50057-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
S
ECURE
S
HELL
(SSH) C
OMMANDS
SSH
ssh
Overview
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.
NOTE
:
Note that any hostname specified with ssh cannot begin with a hyphen (-)
character.
Syntax
ssh [ip|ipv6][{[user <
username
>]|[port <
1-65535
>]|[version
{1|2]}}] <
hostname
> [<
line
>]
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.
<
hostname
>
IPv4/IPv6 address or hostname of a remote server in the format
a.b.c.d
for an IPv4 address, or in the format
x:x::x:x
for an
IPv6 address corresponding to the ip or ipv6 optional keywords
used. Note that any hostname specified with ssh cannot begin with
a hyphen (-) character.
<line>
Command to execute on the remote server. If a
command is specified, the command is executed
on the remote SSH server and the session is
disconnected when the remote command
finishes.