My pfsense failed an audit by securitymetrics.com
-
Also when you login as 'admin'?
-
I am able to get in no matter what…
-
Log in again and then do:
- cd /root
- cd .ssh
- ls -la (post output, there should be a authorized_keys files after you pasted your key via GUI)
Are you running on embedded?
-
Yes Embedded….
[1.2.3-RELEASE] [root@wall.test.local]/root(1): cd /root
[1.2.3-RELEASE] [root@wall.test.local]/root(2): cd .ssh
[1.2.3-RELEASE] [root@wall.test.local]/root/.ssh(3): ls -la
total 1
drwx–---- 2 root wheel 512 Mar 4 07:49 .
drwxr-xr-x 4 root wheel 512 Mar 4 05:08 ..
[1.2.3-RELEASE] [root@wall.test.local]/root/.ssh(4): -
So there is something wrong with your install. The authorized_keys file does not get created.
Try this:
- /etc/rc.conf_mount_rw
- then create the file manually with e.g. vi /root/.ssh/authorized_keys and paste in your key
- /etc/rc.conf_mount_ro
Then check again…
-
vi/root/.ssh/authorized_keys: Command not found.
-
here is a screen shot via winscp….
-
vi and a [space] after that…
-
here is a screen shot via winscp….
So? That is /etc/ssh and on your box…
You generated the key on your windows system, didn't you?
The keys need to be in /root/.ssh/ -
Still no go. Where can I find that file I created? I can log in even though the data shows as there in advanced.
-
Found it in Winscp
-
Yep. So it should be there via ssh, too. If it still does not work I have no idea left what could be wrong.
-
I will reboot
-
Working. :-) Thanks
-
Glad it is working now ;-)