ssh rsa keys expires after 5 years
Posted
by
Kreker
on Server Fault
See other posts from Server Fault
or by Kreker
Published on 2012-06-27T08:15:21Z
Indexed on
2012/06/27
9:17 UTC
Read the original article
Hit count: 203
I'm using an old login with ssh-rsa public/private key and all was good.
I noticed that a couple of days ago the authorizazion was avoid with message "server refused our keys". After diggin' I figured out that the couple of keys stop working after exactly 5 years of their creation.
So I make a new pair of keys, take the public one, paste inside a file in ~/.ssh of the username that I'm using, converted it with ssh-keygen -if
and paste the new file into authorized_keys
but the I still get "server refused our key".
It's ok to copy and paste the real key without transfer it?
What I'm missing? This isn't my first time using a pair of keys and I follow the same procedure as described. I'm in doubt if I'm changing the correct authorized_keys
file but I've take a look in /etc/passwd
and see where is the home of the login which I'm using.
© Server Fault or respective owner