mercredi 19 octobre 2016

Configuer l’accès SSH sur un Routeur CISCO (1941 series)



Router>enable

Password:
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname <nomDuRouteur>
cisco(config)#ip domain-name btsinfogap.org
cisco(config)#crypto key generate rsa general-keys modulus 2048
The name for the keys will be: rNomDeMontagne
% The key modulus size is 2048 bits
% Generating 2048 bit RSA keys, keys will be non-exportable...[OK]
cisco(config)#ip ssh time-out 60
cisco(config)#ip ssh authentication-retries 3
cisco(config)#ip ssh version 2
cisco(config)#line vty 0 4
cisco(config-line)#transport input ssh telnet
cisco(config-line)#exit
cisco(config)#aaa new-model
cisco(config)#username root password passf101
cisco(config)#exit
sans oublier le copy run start sinon c’est à refaire.
cisco# copy run start

Aucun commentaire:

Enregistrer un commentaire