Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can't SSH into PIX 501 1

Status
Not open for further replies.

wfbtr

Technical User
Jun 16, 2004
288
US
i just switched ISP's and changed my IP addresses on this PIX. the VPN works, pc-anywhere works, can browse out, but I can't SSH in. I regenerated the rsa key, still doesn't work. i'm trying to use x.229.60.249 for the SSH.

here's my config:

PIX Version 6.3(1)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password Y4VhkpgwXuS6dpYQ encrypted
passwd Y4VhkpgwXuS6dpYQ encrypted
hostname xxx
domain-name xxx.com
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol ils 389
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
names
access-list outside_access_in permit tcp any host x.229.60.251 eq 8234
access-list outside_access_in permit udp any host x.229.60.251 eq 8234
access-list outside_access_in permit tcp any host x.229.60.251 eq 8235
access-list outside_access_in permit udp any host x.229.60.251 eq 8235
access-list outside_access_in permit tcp any host x.229.60.251 eq www
access-list outside_access_in permit tcp any host x.229.60.250 eq pcanywhere-data
access-list outside_access_in permit udp any host x.229.60.250 eq pcanywhere-status
access-list 101 permit ip 192.168.103.0 255.255.255.0 192.168.102.0 255.255.255.0
access-list icmp permit icmp any any echo-reply
access-list icmp permit icmp any any source-quench
access-list icmp permit icmp any any unreachable
access-list icmp permit icmp any any time-exceeded
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside x.229.60.249 255.255.255.248
ip address inside 192.168.103.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 192.168.1.0 255.255.255.0 inside
pdm location 192.168.103.3 255.255.255.255 inside
pdm location 192.168.103.2 255.255.255.255 inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list 101
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) x.229.60.250 192.168.103.3 netmask 255.255.255.255 0 0
static (inside,outside) x.229.60.251 192.168.103.2 netmask 255.255.255.255 0 0
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 x.229.60.254 1
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server RADIUS protocol radius
aaa-server LOCAL protocol local
http server enable
http 192.168.1.0 255.255.255.0 inside
http 192.168.103.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set myset esp-des esp-md5-hmac
crypto map tooffice 20 ipsec-isakmp
crypto map tooffice 20 match address 101
crypto map tooffice 20 set peer x.47.128.10
crypto map tooffice 20 set transform-set myset
crypto map tooffice interface outside
isakmp enable outside
isakmp key ******** address x.47.128.10 netmask 255.255.255.255
isakmp identity address
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption des
isakmp policy 10 hash md5
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
telnet 192.168.103.0 255.255.255.0 inside
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 30
console timeout 0
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
terminal width 80
Cryptochecksum:4fe84bbe11f97b2a00f70da5995b5748
 
I think you need to zeroise the key first before you generate.
Also remember ca save all if you wannna reboot after generating keys.

Jan


Network Systems Engineer
CCNA/CQS/CCSP/Infosec
 
yeah, it was the ca save all. guess i forgot that part, as i reloaded afterwards.
thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top