keith li
asked on
enable ssh problem in asa 5505
I have a ASA5505, i was trying to enable ssh in this firewall, when i type "crypto key
generate rsa 1024", the following error message appear - ERROR: % Invalid input detected
at '^' marker , anyone know what went wrong ? i,m using version 8.2(1)
below is the configuration steps
interface Vlan1
nameif inside
security-level 100
ip address xxxxx 255.255.255.0
interface Vlan2
nameif outside
security-level 0
ip address xxxxx 255.255.255.240
interface Ethernet0/0
switchport access vlan 2
interface Ethernet0/1
no shut
interface Ethernet0/2
no shut
route outside 0.0.0.0 0.0.0.0 xxxxx 1
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 5
2.jpg
generate rsa 1024", the following error message appear - ERROR: % Invalid input detected
at '^' marker , anyone know what went wrong ? i,m using version 8.2(1)
below is the configuration steps
interface Vlan1
nameif inside
security-level 100
ip address xxxxx 255.255.255.0
interface Vlan2
nameif outside
security-level 0
ip address xxxxx 255.255.255.240
interface Ethernet0/0
switchport access vlan 2
interface Ethernet0/1
no shut
interface Ethernet0/2
no shut
route outside 0.0.0.0 0.0.0.0 xxxxx 1
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 5
2.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i have fixed above problem
what do i do if u want to do mapping below
210.1.1.2 map to internal ip 10.0.0.1 and want to open 80 port ,
what do i do if u want to do mapping below
210.1.1.2 map to internal ip 10.0.0.1 and want to open 80 port ,
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have followed above, but i see below error, any idea ? and below is the setting of my ASA ,
ciscoasa# sh run
: Saved
:
ASA Version 8.2(1)
!
hostname ciscoasa
domain-name it2u.com
enable password 8Ry2YjIyt7RRXU24 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Vlan1
nameif inside
security-level 100
ip address 192.168.11.1 255.255.255.0
!
interface Vlan2
nameif outside
security-level 0
ip address 218.189.179.234 255.255.255.248
!
interface Ethernet0/0
switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
shutdown
!
interface Ethernet0/3
shutdown
!
interface Ethernet0/4
shutdown
!
interface Ethernet0/5
shutdown
!
interface Ethernet0/6
shutdown
!
interface Ethernet0/7
shutdown
!
ftp mode passive
dns server-group DefaultDNS
domain-name it2u.com
pager lines 24
mtu inside 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
route outside 0.0.0.0 0.0.0.0 218.188.179.233 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
dynamic-access-policy-reco
aaa authentication ssh console LOCAL
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 5
console timeout 0
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
username CISCO password TYX7NfYD.Yf733Bn encrypted
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect netbios
inspect rsh
inspect rtsp
inspect skinny
inspect esmtp
inspect sqlnet
inspect sunrpc
inspect tftp
inspect sip
inspect xdmcp
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:d1f93c0d4ad
: end