SSH to outside interface of a PIX 506e

Unanswered Question
Mar 29th, 2007

Hello, I can't seem to get this working. I would like SSH to work on the outside interface of my PIX 506e. When I use PUTTY to connect, right away it says "server unexpectedly closed the connection." Here is a copy of the config:

: Saved

: Written by enable_15 at 07:41:14.556 UTC Thu Mar 29 2007

PIX Version 6.3(3)

interface ethernet0 auto

interface ethernet1 auto

nameif ethernet0 outside security0

nameif ethernet1 inside security100

enable password xxx

passwd xxx

hostname entsec

fixup protocol dns maximum-length 512

fixup protocol ftp 21

fixup protocol h323 h225 1720

fixup protocol h323 ras 1718-1719

fixup protocol http 80

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

fixup protocol tftp 69


access-list entsecacl permit tcp any host eq telnet

access-list entsecacl permit tcp any host eq ssh

pager lines 24

mtu outside 1500

mtu inside 1500

ip address outside

ip address inside

ip audit info action alarm

ip audit attack action alarm

pdm history enable

arp timeout 14400

access-group entsecacl in interface outside

route outside 1

timeout xlate 3:00: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

aaa authentication ssh console LOCAL

no snmp-server location

no snmp-server contact

snmp-server community public

no snmp-server enable traps

floodguard enable

telnet outside

telnet outside

telnet timeout 5

ssh outside

ssh timeout 5

console timeout 0

username xxx password xxx encrypted privilege 15

terminal width 80


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
suschoud Thu, 03/29/2007 - 08:18

generate the activation key again by this command:

(config)#ca gen rsa key 1024


if you initialting the request from ,let's say on outside,then please add the follwoing command :

ssh outside

just replace with ur ip address,put in the ssh command,generate the activation keys once and that should take care of this.



ride_1976 Thu, 03/29/2007 - 08:32

That worked! Thanks for your help. How would I get telnet working to that same outside interface?

suschoud Thu, 03/29/2007 - 08:34

telnet does n't work on the outside interface because of the security can enable it on inside/dmz though.

telnet inside




This Discussion