18. July 2012 · Comments Off on SSH access on Cisco ASA · Categories: Cisco · Tags: , ,

SSH access on Cisco ASA

Firewall#config t
Firewall(config)# enable passwordpassword
Firewall(config)# username test password test123
Firewall(config)# aaa authentication ssh console LOCAL (LOCAL in all caps for LOCAL db)
Firewall(config)# ssh A.B.C.D  255.255.255.0 inside
Firewall(config)# ssh version 2

 

18. July 2012 · Comments Off on SSH Setup on Cisco Router · Categories: Cisco · Tags: ,
SSH Setup on Cisco Device
 
Router>enable
Password:
Router#configure terminal
Router(config)#hostname router1
R1(config)#ip domain-name mydomain.local
R1(config)#crypto key generate rsa general-keys modulus 1024
The name for the keys will be: router1.mydomain.local
% The key modulus size is 1024 bits
% Generating 1024 bit RSA keys, keys will be non-exportable…[OK]
R1(config)#ip ssh time-out 60
R1(config)#ip ssh authentication-retries 3
R1(config)#ip ssh version 2
R1(config)#line vty 0 4
R1(config-line)#transport input ssh telnet
R1(config-line)#exit