I'm trying to make sense of something:
I wanted to use ssh keys to go between linux workstations at the office. I created a local rsa key (2048) on the client1 and ssh-copy-id to client2.
I get the error "Agent admitted failure to sign using the key"
Using ssh -vv I found this "debug2: key_type_from_name: unknown key type '-----Begin'" in regards to the rsa key.. ok..
After many atempts at debugging, remaking keys, different bit sizes, etc. Major time sink and still FAIL! On a wim I decide to make a dsa key instead.
That works perfectly! wtf. So I'm googleing a lot and find this thread
which mentions the hosts.allow/hosts.deny files
Both of those files are blank on both systems but what the hey i'll give anything a go at this point, so I added sshd:ALL to client2's hosts.allow and viola the rsa keys work fine now..
Will someone please enlighten me as to why dsa worked while rsa did not until I altered the hosts.allow file?