OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • 19.1.4 ssh key problem
« previous next »
  • Print
Pages: [1]

Author Topic: 19.1.4 ssh key problem  (Read 4301 times)

Jack V

  • Newbie
  • *
  • Posts: 17
  • Karma: 2
    • View Profile
19.1.4 ssh key problem
« on: April 01, 2019, 06:29:26 pm »
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?

« Last Edit: April 01, 2019, 07:07:18 pm by Jack V »
Logged

qinohe

  • Full Member
  • ***
  • Posts: 160
  • Karma: 19
    • View Profile
Re: 19.1.4 ssh key problem
« Reply #1 on: April 03, 2019, 03:28:53 pm »
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?
« Last Edit: April 03, 2019, 03:35:33 pm by qinohe »
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • 19.1.4 ssh key problem
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2