PIX SSH登陆

拓扑

 

PIX配置

 

 

pixfirewall> en

Password:

pixfirewall#

pixfirewall# conf t

pixfirewall(config)# int e0

pixfirewall(config-if)# nameif outside

pixfirewall(config-if)# ip add 1.1.1.2 255.255.255.0

pixfirewall(config-if)# no shutdown

pixfirewall(config-if)# security-level 0

pixfirewall(config)# passwd cisco

pixfirewall(config)# crypto key zeroize rsa

ERROR: Signature RSA Keys not found in configuration.

pixfirewall(config)# domain-name cisco.com

pixfirewall(config)# ssh 0 0 outside

pixfirewall(config)# crypto key generate rsa modulus 768

INFO: The name for the keys will be: <Default-RSA-Key>

Keypair generation process begin. Please wait...

pixfirewall(config)# ssh timeout 60

pixfirewall(config)# username cisco password cisco

pixfirewall(config)# aaa authentication ssh console LOCAL

附加 PIX Telnet 登陆

pixfirewall(config)#telnet 1.1.1.1 255.255.255.0 outside

pixfirewall(config)# passwd cisco

pixfirewall(config)# telnet timeout 60