Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

SSH to outside interface of a PIX 506e

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


Cisco Employee

Re: SSH to outside interface of a PIX 506e

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.



New Member

Re: SSH to outside interface of a PIX 506e

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

Cisco Employee

Re: SSH to outside interface of a PIX 506e

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

telnet inside



CreatePlease to create content