No RSA keys generated for SSH
-
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?
-
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? -
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.