Come configurare SSH sul Firewall PIX per l'amministrazione remota
- Aggiunto il:
- Martedì 24 Febbraio 2009
- Ultima modifica:
- Martedì 24 Febbraio 2009
Risposta
Completare i seguenti passi per configurare Secure Shell (SSH) sul firewall PIX:
1. Prima di connettersi al PIX tramite SSH, devono essere rispettati questi prerequisiti:
- Il PIX deve avere installata la versione 5.2 o successiva
- Il PIX deve possedere una licenza VPN Data Encryption Standard (DES), come indicato nell'output del comando show version. Riferirsi a Product License Registration per richiedere una licenza DES
2. Una volta soddisfatti tutti i requisiti, inserire questi comandi nel PIX:
hostname domain-name
!— Generate a key for the SSH encryption to use.
ca generate rsa key 1024
!— Allow the desired host to connect to the PIX on the interface specified.
ssh ip_address mask interface
!— Save your configuration.
ca save all
write memory
This is an example:
hostname mypix
domain-name cisco.com
ca generate rsa key 1024
ssh 10.0.0.0 255.255.255.0 inside
ca save all
write memory
Nota: l'username di default per l'autenticazione locale SSH è PIX.
Occasionalmente, quando vengono forniti un username ed una password al client SSH appare e scompare una finestra SSH. Per risolvere il problema, inserire il comando ca zeroize rsa che rimuove ogni chiave RSA esistente sul PIX. Inserire quindi lo stesso comando ancora una volta per rigenerare le chiavi RSA.
Se il PIX è configurato per il port forwarding con il comando statico, per la porta 22, allora la configurazione dell'SSH sul PIX non funziona.
Nei PIX versione 7.0 e successive questo è il comando necessario per generare una chiave RSA:
crypto key generate rsa [usage-keys | general-keys] [label key-pair-label] [modulus size] [noconfirm
Questo comando va inserito in global configuration mode.
Tags di questa voce
- 12 items are tagged with 802.11
- 2 items are tagged with 802.1x
- 6 items are tagged with Apple
- 2 items are tagged with ATA
- 7 items are tagged with autenticazione
- 2 items are tagged with CCIE
- 105 items are tagged with Cisco
- 68 items are tagged with configurazione
- 4 items are tagged with CUE
- 1 items are tagged with Domotica
- 3 items are tagged with firewall
- 29 items are tagged with generale
- 1 items are tagged with GRE
- 1 items are tagged with iPad
- 1 items are tagged with iPhone
- 2 items are tagged with NAT
- 1 items are tagged with PAT
- 4 items are tagged with QOS
- 7 items are tagged with reset
- 28 items are tagged with sicurezza
- 3 items are tagged with switch
- 15 items are tagged with Telefonia
- 16 items are tagged with uc500
- 2 items are tagged with vmware
- 52 items are tagged with VoIP




