Ssh2 - HP 6125XLG Command Reference Manual

Blade switch security command reference
Table of Contents

Advertisement

Predefined user roles
network-admin
Parameters
interface interface-type interface-number: Specifies the primary IP address of the interface as the source
address. The interface-type interface-number argument specifies a source interface by its type and
number.
ip ip-address: Specifies a source IPv4 address.
Usage guidelines
The Stelnet client uses the specified source address to communicate with the server.
If you execute the ssh client source command multiple times, the most recent configuration takes effect.
If you use the ssh2 command to connect to an Stelnet server and specify another source IP address, the
Stelnet client uses the new source IPv6 address for the current connection instead of that specified by the
ssh client source command.
The source address specified by the ssh client source command applies to all Stelnet connections, but the
source address specifies by the ssh2 command applies only to the current Stelnet connection.
Examples
# Specify the source IPv4 address for the Stelnet client as 192.168.0.1.
<Sysname> system-view
[Sysname] ssh client source ip 192.168.0.1
Related commands
display ssh client source

ssh2

Use ssh2 to establish a connection to an IPv4 Stelnet server.
Syntax
In non-FIPS mode:
ssh2 server [ port-number ] [ vpn-instance vpn-instance-name ] [ identity-key { dsa | rsa } |
prefer-compress zlib | 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 } ] * [ publickey keyname | source { interface interface-type interface-number | ip ip-address } ]
*
In FIPS mode:
ssh2 server [ port-number ] [ vpn-instance vpn-instance-name ] [ identity-key rsa | prefer-compress zlib
| prefer-ctos-cipher { aes128 | aes256 } | prefer-ctos-hmac { sha1 | sha1-96 } | prefer-kex dh-group14
| prefer-stoc-cipher { aes128 | aes256 } | prefer-stoc-hmac { sha1 | sha1-96 } ] * [ publickey keyname
| source { interface interface-type interface-number | ip ip-address } ] *
Views
User view
192

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents