Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    PFSense dropping SSH when using alternative ports

    General pfSense Questions
    3
    4
    2037
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Aderium last edited by

      We are Nating an external port to port 22 on the lan for SSH connection, but everytime I attempt to ssh -p xxxxx user@domain i get as far as password but after that is as if the connection is dropped …. Any suggestions ?

      Regards,

      Anthony Palermo

      1 Reply Last reply Reply Quote 0
      • D
        danswartz last edited by

        Hmmm, well I forward a non-standard port to 22 on an inside host and it works fine.  Have you tried different ports?

        1 Reply Last reply Reply Quote 0
        • E
          Efonnes last edited by

          Does it do this when connecting to the SSH server on its local address?  It is likely an issue on your SSH server itself.  If you don't have a shell defined for the user (one that will stick around and not just close immediately), it will close the connection after authentication.

          1 Reply Last reply Reply Quote 0
          • A
            Aderium last edited by

            I am not sure if mortified is the correct word but basically I did not Auto fill from NAT and my firewall rule was pointing to incorrect IP address ….. It works like a charm when it is set correctly !!
            ;D

            Anthony Palermo

            1 Reply Last reply Reply Quote 0
            • First post
              Last post