217
Establishing a connection between the SSH client and server
Follow these steps to establish the connection between the SSH client and the server:
Establish a
connection
between the
SSH client and
the server, and
specify the
public key
algorithm,
preferred
encryption
algorithm,
preferred
HMAC
algorithm and
preferred key
exchange
algorithm
ssh2 server [ port-number ] [identity-key
{ dsa | rsa } | prefer-ctos-cipher { 3des
| aes128 | des } | prefer-ctos-hmac {
md5 | md5-96 | sha1 | sha1-96 } |
prefer-kex { dh-group-exchange | dh-
group1 | dh-group14 } | prefer-stoc-
cipher { 3des | aes128 | des } | prefer-
stoc-hmac { md5 | md5-96 | sha1 |
sha1-96 } ] *
Required
Use either command in
user view.
ssh2 ipv6 server [ port-number ] [
identity-key { dsa | rsa } | prefer-ctos-
cipher { 3des | aes128 | des } | prefer-
ctos-hmac { md5 | md5-96 | sha1 |
sha1-96 } | prefer-kex { dh-group-
exchange | dh-group1 | dh-group14 }
| prefer-stoc-cipher { 3des | aes128 |
des } | prefer-stoc-hmac { md5 | md5-
96 | sha1 | sha1-96 } ] *
Displaying and maintaining SSH
Display the source IP address or
interface currently set for the SFTP
client
display sftp client source [ | {
begin | exclude | include }
regular-expression ]
Display the source IP address or
interface currently set for the SSH
client
display ssh client source [ | {
begin | exclude | include }
regular-expression ]
Display SSH server status
information or session information
on an SSH server
display ssh server { status |
session } [ | { begin | exclude |
include } regular-expression ]
Display the mappings between
SSH servers and their host public
keys saved on an SSH client
display ssh server-info [ | { begin
| exclude | include } regular-
expression ]
Display information about a
specified or all SSH users on the
SSH server
display ssh user-information [
username ] [ | { begin | exclude
| include } regular-expression ]
Display the public keys of the
local key pairs
display public-key local { dsa |
rsa } public [ | { begin | exclude
| include } regular-expression ]
Display the public keys of the SSH
peers
display public-key peer [ brief |
name publickey-name ] [ | { begin
| exclude | include } regular-
expression ]