Hi Guys,
I have recently done a fresh install of Debian 4 and created an SSH key pair on my desktop machine with the intentions of using it to connect without the need for passwords.
I have put the contents of id_rsa.pub in authorized keys on the debian server but when I try to connect to it, it just says connection closed by xx.xx.xx.xx. If I rename my .ssh folder on my desktop machine so that it doesn't try to authenticate with the key pair then it works fine.
This is something I have come across before and never really had chance to diagnose, can anyone give any advice on what could cause this? Is it a config issue on the server side etc?
Any help is much appreciated.
Thanks,
I have recently done a fresh install of Debian 4 and created an SSH key pair on my desktop machine with the intentions of using it to connect without the need for passwords.
I have put the contents of id_rsa.pub in authorized keys on the debian server but when I try to connect to it, it just says connection closed by xx.xx.xx.xx. If I rename my .ssh folder on my desktop machine so that it doesn't try to authenticate with the key pair then it works fine.
This is something I have come across before and never really had chance to diagnose, can anyone give any advice on what could cause this? Is it a config issue on the server side etc?
Any help is much appreciated.
Thanks,