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

    SSH from PFsense 2.0 Firewall?

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 1.4k 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.
    • B
      beaven67
      last edited by

      If I want to ssh or scp to a remote host without using a password on most *nix machines i just take my public key from the host I want to connect to and place it in the authorized_keys file on the client machine (this case pfsense)
      I have tried this and its not working! Is there something special or different about how the ssh client reads the key?
      I created the standard ssh-keygen -t rsa on the machine I want to connect too. I then placed the .pub key in the authorized_keys file but its still asking me for a password. Can someone tell me what could be the problem?
      Thanks!
      ;D

      1 Reply Last reply Reply Quote 0
      • C
        caurelio
        last edited by

        Nothing different, I have rsa keys working fine on pfsense 2.0.

        The public key goes on the host(server) machine, not the client. The client is the machine you are connecting "from".
        So put your local machine's id_rsa.pub in the pfsense authorized_keys and you'll be all set.

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