cannot ssh into outside int on pix 501

Discussion in 'Cisco' started by Ants, Oct 13, 2004.

  1. Ants

    Ants Guest

    hi,
    a newby to pix..
    i can't ssh into my pix external interface from a specific ip address
    (193.133.38.191) on the net... i know it's something obvious but exactly
    what escapes my mind.
    below's my config..
    thanks in advance.


    pixfirewall# sho run
    : Saved
    :
    PIX Version 6.3(3)
    interface ethernet0 auto
    interface ethernet1 100full
    nameif ethernet0 outside security0
    nameif ethernet1 inside security100
    enable password 8Ry2YjIyt7RRXU24 encrypted
    passwd 2KFQnbNIdI.2KYOU encrypted
    hostname pixtestfirewall
    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
    names
    access-list out2in permit tcp any any eq ssh
    pager lines 24
    logging on
    logging buffered debugging
    mtu outside 1500
    mtu inside 1500
    ip address outside 217.45.234.83 255.255.255.240
    ip address inside 192.168.1.1 255.255.255.0
    ip audit info action alarm
    ip audit attack action alarm
    pdm logging informational 100
    pdm history enable
    arp timeout 14400
    global (outside) 1 interface
    nat (inside) 1 0.0.0.0 0.0.0.0 0 0
    access-group out2in in interface outside
    route outside 0.0.0.0 0.0.0.0 217.45.234.86 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
    no snmp-server location
    no snmp-server contact
    snmp-server community public
    no snmp-server enable traps
    floodguard enable
    telnet timeout 5
    ssh 193.133.38.191 255.255.255.255 outside
    ssh timeout 10
    console timeout 0
    dhcpd address 192.168.1.2-192.168.1.33 inside
    dhcpd lease 3600
    dhcpd ping_timeout 750
    dhcpd auto_config outside
    dhcpd enable inside
    username cisco password 3USUcOPFUiMCO4Jk encrypted privilege 15
    terminal width 80
    Cryptochecksum:b65b740b2aa5e88a85c7c6c4098b2c3f
    : end
    pixfirewall#
     
    Ants, Oct 13, 2004
    #1
    1. Advertisements

  2. give it a domain name and use ca generate command to make ssh keys
    the use ca save all to save into nvram

    verify with show ca command

    HTH
    Martin
     
    Martin Bilgrav, Oct 13, 2004
    #2
    1. Advertisements

  3. Ants

    Chad Mahoney Guest

    ants,

    I would suggest you do 2 things

    1. change your password since you just posted it to a public newsgroup
    2. do NOT post you IP address along with your password !!!


    Chad
     
    Chad Mahoney, Oct 13, 2004
    #3
  4. Ants

    John Smith Guest

    conf t
    no ssh 193.133.38.191 255.255.255.255 outside
    no access-group out2in in interface outside
    no access-list out2in
    ca zeroize rsa
    ca save all
    domain-name yourdomain.com
    ca generate rsa key
    ca save all
    ssh 193.133.38.191 255.255.255.255 outside
     
    John Smith, Oct 14, 2004
    #4
  5. Ants

    Ants Guest

    thanks for the info...
    ps. ips and passwords are bogus by the way...
    anyway...
    have created an rsa key no probs.. when trying to connect to outside
    interface i get prompted for user id and password after i accepted the
    key...
    then when entered get errro saying password invalid and soon as i say ok..
    another line appears saying 'invalid message type'

    anyone know what could cause this? need an ios upgrade?
    current version is
    Cisco PIX Firewall Version 6.3(3)
    Cisco PIX Device Manager Version 3.0(1)

    if i were to upgradde how could i obtain a newer version of ios?
    any ideas?
    thanks in advance
     
    Ants, Oct 15, 2004
    #5
  6. password invalid means you typed wrong password.

    Default SSH username is pix and password cisco
    Did you give the PIX a DOMAIN-NAME ?

    HTH
    Martin
     
    Martin Bilgrav, Oct 15, 2004
    #6
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.