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

    Pfsense ssh'd me into router instead of server without password

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 506 Views
    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.
    • F Offline
      finite9
      last edited by

      disclaimer: i probably dont know what im talking about.

      setup:

      pfsense 2.2
      always-on-pc that i reach by SSH'ing to my domain name, and pfsense NAT's it forward to port 22 on server.

      I was working from home on work laptop, through work VPN.  When I do this, then I have to Putty into my external domain name to reach my server instead of using the local LAN server name.  All working fine.  I use ssh keys for this.

      Normally, when I disconnect from works VPN, if I try to SSH to the external domain name, it fails to reach the host.  I have to use another Putty profile to reach the local server name.

      But not recently!  I disconnected from work, and tried to Putty into the external domain name (did this by accident) and got a completely different prompt!  I had been logged into the actual pfsense router without supplying any credentials.  It used the key file for my server to authenticate me.  I have not investigated further.  Is it "just me" or is there something I missed?

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        Maybe you put your SSH key into pfSense in a user (System > User Manager)? Seems the most likely explanation.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.