[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot authenticate with DSA-pubkey in Etch

Christopher Bianchi wrote:
Emh, sorry, but i didn't past the config and the errors because I
thought that attach to the mail was better.

Anyway, the default sshd_config is NOT right for the authentication with
pubkey, because the Password Authentication is set to 'yes' in default

I changed only:
PubkeyAuthentication yes
ChallengeResponseAuthentication no
PasswordAuthentication no

The permissions are ok.
And i've copied the id_dsa.pub in this way:
# scp ~/.ssh/id_dsa.pub \

Jonathan Wilson, you're to nervous. Calm. Life is good. Open a txt
file ? == 2 seconds. To read 10-11 lines ? 20 seconds.


Any help would be appreciate.

You can still have password athentication and key authentication at the same time. In the future, an easier way to copy keys is to use ssh-copy-id, that will copy over your key file to the remote server and make sure that proper permissions are set. Permissions on your ~/.ssh/authorized_keys file should be 600. If you look at the error log on the *server* you will see what error is, not the client.

Reply to: