I’m using SftpEx to connect via SFTP with a remote server, the script works fine on my pc (Ubuntu 20.04) but at my Raspberry PI (Raspbian 10 buster) the following message appears:
SftpEx.connect(host: '<host>', user: '<user>', port: <port>)
Erlang SSH :client 4.8 (OpenSSL 1.1.1d 10 Sep 2019).
Server: 'SSH-2.0-OpenSSH_7.4'
Disconnects with code = 14 [RFC4253 11.1]: Unable to connect using the available authentication methods
State = {userauth, client}
Module = ssh_connection_handler, Line = 904
Details:
User auth failed for: '<user>'
While searching the common awnser was the ssh key and pass_phrase.
But my key doesn’t have any pass_phrase and it’s named properly (~/.ssh/id_rsa). To verify the connection, I tested the command line ssh and sftp and both works just fine.
I would like to know if anyone can help me to fix this connection issue. Thank you
This is my first question at this forum so let me know if I broke any format rule.