Displaying And Maintaining Ssh; Stelnet Configuration Examples - HP 12500 Series Configuration Manual

Routing
Table of Contents

Advertisement

Task
Connect to the SCP
server, and transfer files
with the server.

Displaying and maintaining SSH

Task
Display the source IP address or
interface configured for the SFTP client.
Display the source IP address or
interface information configured for the
Stelnet client.
Display SSH server status information
or session information on an SSH
server.
Display the mappings between SSH
servers and their host public keys on an
SSH client.
Display information about one or all
SSH users on an SSH server.
Display the public keys of the local key
pairs.
Display the public keys of the SSH
peers.

Stelnet configuration examples

Command
Upload a file to the SCP server:
scp [ ipv6 ] server [ port-number ] put source-file-path
[ destination-file-path ] [ identity-key { dsa | rsa } |
prefer-ctos-cipher { 3des | aes128 | aes256 | des }
| prefer-ctos-hmac { md5 | md5-96 | sha1 |
sha1-96 } | prefer-kex { dh-group-exchange |
dh-group1 | dh-group14 } | prefer-stoc-cipher
{ 3des | aes128 | aes256 | des } | prefer-stoc-hmac
{ md5 | md5-96 | sha1 | sha1-96 } ] *
Download a file from the SCP server:
scp [ ipv6 ] server [ port-number ] get source-file-path
[ destination-file-path ] [ identity-key { dsa | rsa } |
prefer-ctos-cipher { 3des | aes128 | aes256 | des }
| prefer-ctos-hmac { md5 | md5-96 | sha1 |
sha1-96 } | prefer-kex { dh-group-exchange |
dh-group1 | dh-group14 } | prefer-stoc-cipher
{ 3des | aes128 | aes256 | des } | prefer-stoc-hmac
{ md5 | md5-96 | sha1 | sha1-96 } ] *
Command
display sftp client source [ | { begin |
exclude | include } regular-expression ]
display ssh client source [ | { begin |
exclude | include } regular-expression ]
display ssh server { status | session } [ |
{ begin | exclude | include }
regular-expression ]
display ssh server-info [ | { begin |
exclude | include } regular-expression ]
display ssh user-information
[ username ] [ | { begin | exclude |
include } regular-expression ]
display public-key local { dsa | rsa }
public [ | { begin | exclude | include }
regular-expression ]
display public-key peer [ brief | name
publickey-name ] [ | { begin | exclude |
include } regular-expression ]
222
Remarks
Use either command.
Only SSH users whose
user privilege level is 3
can upload files to the
SCP server.
Algorithms dsa, 3des,
des, md5, md5-96,
dh-group-exchange,
and dh-group1 are not
available in FIPS mode.
Only the algorithm
aes256 is available in
FIPS mode.
Remarks
Available in any view.
Available in any view.
Available in any view.
Available in any view.
Available in any view.
Available in any view.
Available in any view.

Advertisement

Table of Contents
loading

Table of Contents