Are you talking about the server or client farley?
For the client, look for a file called $HOME/.ssh/id_rsa or $HOME/.ssh/id_dsa or $HOME/.ssh/identity and remove it (or better rename it) - There should be a corresponsing public key file with the same name, but .pub on the end - you need to remove that also.
For the server, look for a file called $HOME/.ssh/authorized_keys - edit it and either remove or comment out the line for the client you wish to disable/remove.
I am doing this on the server
I deleted everything in .ssh
But it is still asking for the old paraphase, and wont let me continue....
# ssh-keygen -p
Enter file in which the key is (/root/.ssh/id_rsa):
Enter old passphrase:
Bad passphrase.
They are both do public key encryption, but in different ways - if my memory serves - DSA makes use of the discrete logarithm problem and RSA makes use of some esoteric number theory. I think DSA is only used for signatures (so my comment about encryption is not quite correct)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.