Hi,
I try to use a ssh connection with Public Key (ECDSA)
In client:
I create a private/public key
i choose filename: id_ecdsa_toto
In remote server: IP:AAA.BBB.CCC.DDD
I create a new user: toto. toto is not in wheel group.
I add my public key
id_ecdsa_toto.pub in /home/toto/.ssh/authorized_keys2
when i try connect
if i put toto in the WHEEL group, i have not the problem...
Thanks,
Roland
I try to use a ssh connection with Public Key (ECDSA)
In client:
I create a private/public key
ssh-keygen -t ecdsa
i choose filename: id_ecdsa_toto
In remote server: IP:AAA.BBB.CCC.DDD
I create a new user: toto. toto is not in wheel group.
I add my public key
id_ecdsa_toto.pub in /home/toto/.ssh/authorized_keys2
when i try connect
ssh -i .ssh/ecdsa_toot AAA.BBB.CCC.DDD
Code:
Permission denied (publickey).
ssh -i .ssh/ecdsa_toot AAA.BBB.CCC.DDD -vvv
Code:
debug1: Offering ECDSA public key: id_ecdsa_toto
debug3: send_pubkey_test
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
Permission denied (publickey).
if i put toto in the WHEEL group, i have not the problem...
Code:
debug1: Offering ECDSA public key: id_ecdsa_toto
debug2: we sent a publickey packet, wait for reply
debug1: Server accepts key: pkalg ecdsa-sha2-nistp256 blen 104
Thanks,
Roland