OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • [RESOLVE] Let's encrypt automation upload via SFTP permission_denied
« previous next »
  • Print
Pages: [1]

Author Topic: [RESOLVE] Let's encrypt automation upload via SFTP permission_denied  (Read 5778 times)

Massimo1993

  • Newbie
  • *
  • Posts: 18
  • Karma: 2
    • View Profile
[RESOLVE] Let's encrypt automation upload via SFTP permission_denied
« on: December 11, 2020, 05:28:46 pm »
Hi, i'm trying to do a SFTP certificate transmission on my Sinology but every time i get this:
Code: [Select]
Host does not permit a connection for the specified user & identity.

{ "actions": [ "connecting" ], "success": false, "permission_denied": true, "error": "MyUsername@192.168.0.7: Permission denied (publickey,password).", "connect_failed": true }

If i try to access instad with ssh from my router with
Code: [Select]
ssh -v MyUsername@192.168.0.7 everything it's working fine.

My configuration are:
Code: [Select]
SFTP Host : 192.168.0.7

Username : MyUsername

Identity Type : RSA

Remote Path : /

Thanks for your help and time.

Edit: apparently the problem resides in the rsa key i've used. The actual rsa key is located at /var/etc/acme-client/sftp-config/id.rsa.pub
« Last Edit: December 11, 2020, 06:44:00 pm by Massimo1993 »
Logged

myradon

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
    • View Profile
Re: [RESOLVE] Let's encrypt automation upload via SFTP permission_denied
« Reply #1 on: January 22, 2021, 12:01:10 am »
Thanks a lot for your edit. It took me several hours to figure out. Your comments got it up and running within 1 minute. Thanks!
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • [RESOLVE] Let's encrypt automation upload via SFTP permission_denied
 

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