ssh

Opens a Secure Shell connection to a remote host.

Syntax

ssh [<user>@]<host> [<command>]

Syntax Description

Keyword
Description

user

(Optional) The user name to use on the remote host.

host

The name or IP address of the remote host.

command

(Optional) A command to run on the remote host.

Defaults

The default user name is "admin".

Usage Guidelines

This commands establishes a Secure Shell (SSH) session to a remote host. Both public key and password authentication are supported. Public key authentication is attempted using the local ssh client key. If public key authentication fails, password authentication is used.

The ssh client maintains a list of public keys for the hosts that have been previous contacted. If the key received from the remote host does not match the stored key, the connection is aborted. Stored host keys can be edited with the configure known-hosts command or deleted with the clear ssh known-hosts command.

If command is given, the specified string is passed to the remote system for execution instead of invoking a login shell.

Examples

clear ssh client-keysconfigure known-hostsshow config known-hostsclear ssh known-hostsclear ssh host-keystelnet

Last updated