Generate Ssh Server Host Key - Yamaha L2 Command Reference Manual

Intelligent l2 poe swr2311p-10g
Table of Contents

Advertisement

[Initial value]
none
[Input mode]
global configuration mode
[Description]
Restrict access to the SSH according to the client terminal's IPv4/IPv6 address.
Up to eight instances of this command can be set, and those that are specified earlier take priority for application.
If this command is set, all access that does not satisfy the registered conditions is denied.
However, if this command is not set, all access is permitted.
If this command is executed with the "no" syntax, the specified setting is deleted.
If parameters are omitted with the "no" syntax, the all setting are deleted.
[Note]
If ssh-server enable command is not specified, this command does not function.
[Example]
Permit access to the SSH server only from 192.168.1.1 and the 192.168.10.0/24 segment.
SWR2311P(config)#ssh-server access permit 192.168.1.1
SWR2311P(config)#ssh-server access permit 192.168.10.0/24
Deny only access to the SSH server from the segment 192.168.10.0/24.
SWR2311P(config)#ssh-server access deny 192.168.10.0/24
SWR2311P(config)#ssh-server access permit any

4.17.5 Generate SSH server host key

[Syntax]
ssh-server host key generate [bit bit]
[Parameter]
bit
[Initial value]
none
[Input mode]
priviledged EXEC mode
[Description]
Sets the host RSA key and host DSA key of the SSH server.
For the RSA key, the bit parameter can be used to specify the number of bits in the generated key. The DSA key generates a
1024-bit key.
[Note]
In order to use the SSH server function, this command must be executed in advance to generate the host keys.
If this command is executed when the host keys have already been specified, the user is asked to confirm whether to update the
host keys.
Setting value
A.B.C.D/M
X:X::X:X
X:X::X:X/M
any
:
1024, 2048
Bit length of RSA key
Command Reference | Maintenance and operation functions | 77
Description
Specifies an IPv4 address (A.B.C.D) with subnet
mask length (Mbit)
Specifies an IPv6 address (X:X::X:X)
Specifies an IPv6 address (X:X::X:X) with
subnet mask length (Mbit)
Applies to all IPv4 addresses and IPv6 address

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents