I have the following problem. I install sshd on a Redhat 7.1 server. I put PasswordAuthenticity no
 
For a user called mambo, i generate the private and the public key, using the ssh-keygen command.
 
There are generated 2 files identity, and identity.pub that are located in the home/mambo/.ssh/ directory.
 
I copy the file identity.pub, in the file authorized_keys on the same directory(/home/mambo/.ssh/)
 
Now if I issue the following command: (suposed I am logged as mambo)
 
ssh linux (where linux is the name of the Redhat 7.1 computer
I receive the error Permission denied (publickey)
 
I try also
ssh -l mambo linux
ssh -i /home/mambo/.ssh/identity -l mambo linux
the same error appear.
If I put the debug flag and also -v-v-v there is no other error except what I said before.
 
What is strange is that if i try to connect from a WIN2000 station, using putty program, and specifing the identity file as the key, everything is OK.
So what is wrong.
It seem the client is wrong configured, not the server.
Has anybody any Idea?
 
 

Reply via email to