M
M
MultiGramen2020-10-03 21:05:25
linux
MultiGramen, 2020-10-03 21:05:25

How to connect to SFTP server using RSA key file?

Set up an SFTP server. With a password connection, everything works fine, but you need to connect only with an ssh key in order to disable password authentication on the server. How to implement it? setting was on this article.

I tried to create keys and, as it should be in the work of ssh, I threw the public one on the server, and kept the private one, but the authentication does not work - FileZilla issues the following logs:


Status: Connecting to (IP-adress):port...
Status: Using username "username". Error: FATAL ERROR: No supported authentication methods available (server sent :
publickey)


What needs to be done to connect only by key?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2020-10-03
@q2digger

How did you create the keys? Probably in putty-gen ?
If the answer is yes, change the key.
https://askubuntu.com/questions/204400/ssh-public-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question