On Sat, Jun 29, 2002 at 07:27:35AM +0300, Jussi Ekholm wrote: > After I created a key with 'ssh-keygen -t dsa -N ""' and copied it to > the remote server with 'ssh-copy-id', I connected to the server. And > again, for no surprise, I got password prompt. This is what I got with > 'ssh -v': > > debug1: SSH2_MSG_NEWKEYS sent > debug1: waiting for SSH2_MSG_NEWKEYS > debug1: newkeys: mode 0 > debug1: SSH2_MSG_NEWKEYS received > debug1: done: ssh_kex2. > debug1: send SSH2_MSG_SERVICE_REQUEST > debug1: service_accept: ssh-userauth > debug1: got SSH2_MSG_SERVICE_ACCEPT > debug1: authentications that can continue: publickey,password > debug1: next auth method to try is publickey > debug1: try pubkey: /home/ekhowl/.ssh/id_dsa > debug1: authentications that can continue: publickey,password > debug1: try pubkey: /home/ekhowl/.ssh/id_rsa > debug1: authentications that can continue: publickey,password > debug1: try pubkey: /home/ekhowl/.ssh/id_dsa > debug1: authentications that can continue: publickey,password > debug1: try pubkey: /home/ekhowl/.ssh/id_rsa > debug1: authentications that can continue: publickey,password > debug1: next auth method to try is password >
It looks like your public key wasn't use. ssh-copy-id puts it into ~/.ssh/authorized_keys Some older openSSH versions and maybe SSH.com software checks in ~/.ssh/authorized_keys for rsa keys and in ~/.ssh/authorized_keys2 for SSH protocol 2 keys ^ Ciao Dietmar -- Alles Gute / best wishes Dietmar Goldbeck E-Mail: [EMAIL PROTECTED] Reporter (to Mahatma Gandhi): Mr Gandhi, what do you think of Western Civilization? Gandhi: I think it would be a good idea. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]