SSH beáll

advertisement
Perem(config)#access-list 1 permit 172.16.1.160 0.0.0.31
Perem(config)#ip domain-name ceg.hu
Perem(config)#aaa new-model
Perem(config)#username Rendg pass vizsga
Perem(config)#crypto key generate rsa
The name for the keys will be: Perem.ceg.hu
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]:
% Generating 512 bit RSA keys, keys will be non-exportable...[OK]
*márc. 1 1:23:30.141: RSA key size needs to be at least 768 bits for ssh version 2
*márc. 1 1:23:30.141: %SSH-5-ENABLED: SSH 1.5 has been enabled
Perem(config)#line vty 0 15
Perem(config-line)#transport input ssh
Perem(config-line)#access-class 1 in
Perem(config-line)#exit
Download