Настройка протокола SSH

Настройка протокола SSH

Switch#

Switch#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#hostname SW1

SW1(config)#ip domain-name example.ru

SW1(config)#crypto key generate rsa

The name for the keys will be: SW1.example.ru

Choose the size of the key modulus in the range of 360 to 2048 for your

General Purpose Keys. Choosing a key modulus greater than 512 may take

a few minutes.

How many bits in the modulus [512]: 1024

% Generating 1024 bit RSA keys, keys will be non-exportable…[OK]

SW1(config)#ip ssh version 2

*Mar 1 0:1:43.976: %SSH-5-ENABLED: SSH 1.99 has been enabled

SW1(config)#line vty 0 15

SW1(config-line)#transport input ssh

SW1(config-line)#login local

SW1(config-line)#username admin password 123qwe

SW1(config)#end

SW1#

Copyright © 2020 NEWS-Свердловский