S
S
Seeker2015-12-26 17:52:23
SSH
Seeker, 2015-12-26 17:52:23

Key authentication in SecureCRT. Why doesn't it come out?

Tell me one thing. It is necessary to connect from Windows to * nix-machine via ssh. I always used PuTTY for this, but then I decided to try the advanced SecureCRT client.
SecureCRT can generate keys in OpenSSH format, which means I don't need to use key conversion with "ssh-keygen -i -f".
Here I am generating keys in SecureCRT (screenshot), set the switch to "OpenSSH Key format"
d937dab423964c17be06c60b2db17c25.jpg
The public key Identity.pub and the private key Identity are created. I, as not the first time working with this, I know that I should copy Identity.pub to the server and add it to .ssh/authorized_keys there, which I did, and keep Identity, protect it from copying as much as possible and use it for authentication with the server . But at the same time, when I try to connect to the server using SecureCRT, for some reason it asks me for a file with the pub extension, I ignore this requirement, because I know that I still need a private key for authentication, I slip it Identity. The answer is "Public-key authentication with the server for user username failed". Tried swapping keys, same thing.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question