Download Print this page

Ssh2 - HP FlexNetwork MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for FlexNetwork MSR Series:

Advertisement

Default
The source IPv4 address for SSH packets is not configured. The Stelnet client uses the primary IPv4
address of the output interface in the routing entry as the source address of the SSH packets.
Views
System view
Predefined user roles
network-admin
Parameters
interface interface-type interface-number: Specifies a source interface by its type and number. The
SSH packets use the primary IPv4 address of the interface as their source address.
ip ip-address: Specifies a source IPv4 address.
Usage guidelines
If you execute this command multiple times, the most recent configuration takes effect.
This command takes effect on all Stelnet connections. The source IPv4 address specified in the
ssh2 command takes effect only on the current Stelnet connection.
If you specify the source IPv4 address both in this command and the ssh2 command, the source
IPv4 address specified in the ssh2 command takes effect.
Examples
# Specify 192.168.0.1 as the source IPv4 address for SSH packets.
<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 | ecdsa | rsa }
| prefer-compress zlib | prefer-ctos-cipher { 3des-cbc | aes128-cbc | aes256-cbc | des-cbc } |
prefer-ctos-hmac { md5 | md5-96 | sha1 | sha1-96 } | prefer-kex { dh-group-exchange-sha1 |
dh-group1-sha1 | dh-group14-sha1 } | prefer-stoc-cipher { 3des-cbc | aes128-cbc | aes256-cbc
| des-cbc } | prefer-stoc-hmac { md5 | md5-96 | sha1 | sha1-96 } ] * [ dscp dscp-value | escape
character | public-key keyname | source { interface interface-type interface-number | ip
ip-address } ] *
In FIPS mode:
ssh2 server [ port-number ] [ vpn-instance vpn-instance-name ] [ identity-key { ecdsa | rsa } |
prefer-compress zlib | prefer-ctos-cipher { aes128-cbc | aes256-cbc } | prefer-ctos-hmac
{ sha1 | sha1-96 } | prefer-kex dh-group14-sha1 | prefer-stoc-cipher { aes128-cbc |
aes256-cbc } | prefer-stoc-hmac { sha1 | sha1-96 } ] * [ escape character | public-key keyname |
source { interface interface-type interface-number | ip ip-address } ] *
Views
User view
634

Advertisement

loading