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

No RSA keys generated for SSH

Scheduled Pinned Locked Moved CE 2.7.0 Development Snapshots (Retired)
3 Posts 2 Posters 443 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.
  • W
    wlp94611
    last edited by Nov 2, 2022, 3:46 PM

    pfSense 2.70 with FreeBSD 14 does not generate RSA keys when SSH is enabled.

    I ran ssh-keygen -A but had no luck.

    Has anyone else encountered this problem, and if so how did you resolve the issue?

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Nov 3, 2022, 12:09 PM

      I installed a 2.7.0 VM fresh yesterday with a snapshot from Nov 1 and it worked fine when I enabled SSH:

      : ls -l /etc/ssh/
      total 72
      -rw-r--r--  1 root  wheel  538380 Nov  1 02:44 moduli
      -rw-r--r--  1 root  wheel    1555 Nov  1 02:44 ssh_config
      -rw-------  1 root  wheel     419 Nov  2 10:55 ssh_host_ed25519_key
      -rw-r--r--  1 root  wheel     104 Nov  2 10:55 ssh_host_ed25519_key.pub
      -rw-------  1 root  wheel    3389 Nov  2 10:55 ssh_host_rsa_key
      -rw-r--r--  1 root  wheel     748 Nov  2 10:55 ssh_host_rsa_key.pub
      -rw-r--r--  1 root  wheel     823 Nov  2 10:55 sshd_config
      

      Are there any errors in the system log from sshd? What happens if you try to run /etc/sshd by hand?

      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
      • W
        wlp94611
        last edited by Nov 4, 2022, 2:51 PM

        I dug a bit deeper and found the problem was with ExtraPUTTY. I could not agree with pfSense about the hash algorithm.

        Works fine with PUTTY.

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received