[RESOLVE] Let's encrypt automation upload via SFTP permission_denied

Started by Massimo1993, December 11, 2020, 05:28:46 PM

Previous topic - Next topic
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

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!