Hello all,
I am trying to login into OPNsense 19.1.4-amd64 box with an ssh-key but it keeps failing me.
I can ssh login with a created user or as root for that mater with a password but not with a ssh-key.
Checked that .ssh in home folder has 700 and authorized_keys has 600.
Client on Windows 10 pro gets:
me@host: Permission denied (publickey).
This is the native ssh client that now is standard on Windows 10. Other (Linux) hosts work without problem with the key.
And from the /var/log/system.log I get:
Apr 1 18:21:35 host sshd[79752]: error: PAM: authentication error for me from host
Apr 1 18:21:35 host sshd[79752]: Connection reset by authenticating user me host port 53028 [preauth]
Anybody got clue what is going on?
Hey Jack V, first I need more info ;)
How did you create you keypair on Windows?
Did you create a separate user on OPNsense?
My doubts go to the keypair!
Just so you know, I can login from Win10 on my OPNsense without problems, though, I normally use Linux for that :P
edit: Windows pro, then you version is 1803?