OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: Massimo1993 on December 11, 2020, 05:28:46 PM

Title: [RESOLVE] Let's encrypt automation upload via SFTP permission_denied
Post by: Massimo1993 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:
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 ssh -v MyUsername@192.168.0.7 everything it's working fine.

My configuration are:
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
Title: Re: [RESOLVE] Let's encrypt automation upload via SFTP permission_denied
Post by: myradon 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!