Questions tagged [rsa]
190 questions
14
votes
2 answers
What do the different parts of "known_hosts" entries mean?
Below is an known_hosts entry. The part that starts with ssh-rsa and goes to the end is a public key. What are the other parts (the characters before ssh-rsa)?
|1|KnbIIJIPrL/1p7ofUV74sK+j/Gc=|wrjOFnPgoF0afgH0PeRtRqSdgvc= ssh-rsa
…

Emanuil Rusev
- 901
- 3
- 10
- 16
12
votes
2 answers
Cannot decrypt private key eventhough I know passphrase
I think my problem comes down to the fact something is wrong with the key but I cannot just decrypt it, for further investigation, with out parsing it. But I am not sure.
I am trying to use standard method:
openssl rsa -in ./id_rsa -out…

luk32
- 243
- 1
- 3
- 7
10
votes
1 answer
ssh - Why isn't it trying my private key?
I'm trying to connect to a remote SSH server using a private key at ~/.ssh/id_rsa. When I ssh -v to the server I get the following:
...
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1:…

Martin
- 226
- 1
- 2
- 7
10
votes
1 answer
ssh: id_rsa doesn't work, but if I rename it, it works
I have this id_rsa in my ~/.ssh folder. But it just doesn't authenticate. If I copy it and rename it to anything not id_rsa, it works.
[qfan@mycomputer .ssh]$ ls -al id_rsa id_rsa_good
-rw------- 1 qfan qfan 1766 Dec 3 18:35 id_rsa
-rw------- 1…

Qi Fan
- 350
- 3
- 12
10
votes
4 answers
OpenSSH : Key-based authorization, maximum key length
I'am using Putty on windows with key-based authentication to access some of mine servers.
It works totally fine with ~3700-bit key, but with ~17000-bit key it thinks for like 20 seconds on client-side and then just says "Access denied" and asks for…

BarsMonster
- 724
- 4
- 12
- 26
10
votes
10 answers
sshd shuts down with "No supported key exchange algorithms" error
sshd
$ /usr/sbin/sshd -f testconfig -p 22025 -d
debug1: sshd version OpenSSH_5.2p1
debug1: private host key: #0 type 0 RSA1
debug1: read PEM private key done: type RSA
debug1: private host key: #1 type 1 RSA
debug1: read PEM private key done: type…

Dmitry Gladkov
- 203
- 1
- 2
- 5
9
votes
4 answers
What does this ssh error mean?
This is my last resort. I've been trying to figure out the problem here for hours.
Here's the deal: I have copied my private key from machine #1 onto machine #2. Machine #1 is able to connect via ssh to a server with my public key just fine, but…

kevin
- 91
- 1
- 1
- 3
9
votes
2 answers
SSH keys: why is id_rsa larger than id_rsa.pub?
My private key (~/.ssh/id_rsa) is a 1766-byte file, but my public key (~/.ssh/id_rsa.pub) is only 396 bytes in length. Why the massive difference? Is it because the private key is encrypted using AES? Isn't AES ciphertext usually around the same…

splicer
- 193
- 1
- 4
8
votes
2 answers
Is disabling password login for SSH the same as deleting the password for all users?
I have a cloud server with only a root user. I SSH to it using RSA keys only. To make it more secure, I wanted to disable the password feature. I know that this can be done by editing the /etc/ssh/sshd_config file and changing PermitRootLogin yes to…

Arsham Skrenes
- 83
- 1
- 4
8
votes
4 answers
The RSA key container could not be opened. Windows Server 2008 R2
I am setting up a second asp.net site on our Windows 2008 R2 server. We use a RSA Key Container to encrypt our connection strings. I created a new Application Pool with all the same settings as our Default Application Pool that is supporting our…

Blegger
- 272
- 1
- 5
- 14
8
votes
5 answers
Recover an SSH private key?
I have an RSA key (generated by PuTTYgen) that's set up for logging in to a bunch of machines via SSH. Or rather, i HAD such a key. (The computer it was on crashed, to the point that a reinstall of XP was required. The private key file is…

cHao
- 473
- 1
- 3
- 10
8
votes
1 answer
SSH keys: ed25519 vs RSA performance demystified
It is claimed that ed25519 keys are better than RSA, in terms of security and performance. In terms of security, I understand that 4096 bits RSA keys are practically unbreakable for the foreseable future, so I am not asking about that.
What I would…

a06e
- 353
- 1
- 4
- 10
7
votes
2 answers
Unable to login(ssh) with public private key pair
I am unable to login with public private key pairs. I do have access with a password. Following are the logs on server side and on the client side. Why am I unable to login?
type=CRYPTO_KEY_USER msg=audit(1481731455.027:102046): user pid=8859 uid=0…

raju
- 267
- 2
- 3
- 9
7
votes
2 answers
Same RSA key on multiple PCs
Can I use my RSA private key on multiple computers i.e. my desktop and laptop. Or do I have to create a unique key for each computer I own, and add their respective public keys to necessary servers/programs.

Tom
- 195
- 4
7
votes
1 answer
Is the ssh key name a part of the authentication?
The ssh public keys in authorized_hosts have three parts - a type, the key and a name. For example, an rsa key might look like:
ssh-rsa gn29JyDdiyLFlggptrCxgzS6diAF6o94DtgoF9grbm7g+Mtrly NAME1
Will the same key be valid with a…

Adam Matan
- 13,194
- 19
- 55
- 75