HELPA

Tomoyuki Murakami tomoyuki at pobox.com
Wed Nov 19 23:32:44 EST 2008


>>> On Wed, 19 Nov 2008 18:39:12 +0900,
>>>  "??????" <hanpedro at gmail.com> wrote:

hanpedro> Systems:  vmware-centos 5.2:  192.168.0.4  vista copssh: 192.168.0.2

you did,
hanpedro> [192.168.0.4 $] ssh-keygen -t dsa
hanpedro> [192.168.0.4 $] scp -p id_dsa.pub tester at 192.168.0.2:.ssh
                                            ~~~~~~~
but trying,
hanpedro> [192.168.0.4 $] ssh id at 192.168.0.2
                              ~~~
hanpedro> 192.168.0.4(centos 5.2) sshd_conf:
...
sshd_conf of client side machine has no effect in this issue.

any way, please try
[192.168.0.4 $] scp -p id_dsa.pub id at 192.168.0.2:.ssh
                                  ~~
[192.168.0.2 $] cd ~id
[192.168.0.2 $] cat .ssh/id_dsa.pub >> .ssh/authorized_keys
[192.168.0.2 $] chmod 700 .ssh
[192.168.0.2 $] chmod 600 .ssh/authorized_keys

and ...
hanpedro> debug1: Next authentication method: publickey
hanpedro> debug1: Trying private key: /home/hanpedro/.ssh/id_rsa
hanpedro> debug3: no such identity: /home/hanpedro/.ssh/id_rsa
hanpedro> debug1: Trying private key: /home/hanpedro/.ssh/id_dsa
hanpedro> debug3: no such identity: /home/hanpedro/.ssh/id_dsa
hanpedro> debug2: we did not send a packet, disable method
hanpedro> debug1: No more authentication methods to try.
hanpedro> Permission denied (publickey).

when this happens again,
re-check your id_dsa is in your client side(192.168.0.4)
 $HOME/.ssh/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20081119/e2856d4b/attachment-0001.bin 


More information about the openssh-unix-dev mailing list