Hello, I have done again my chroot environment for ssh cleanest. I have had the same error than before so i look after problem in my /etc/passwd and /etc/group files. I have modified this files : # /etc/passwd sshd:x:100:65534::/var/run/sshd:/bin/false me:x:101:100:,,,:/home/me/./:/bin/bash root:x:0:0:root:/root:/bin/bash # /etc/group users:x:100: wheel:x:101:me nogroup:x:65534: root:x:0: And i have added /etc/shadow and /etc/gshadow files : # /etc/gshadow wheel:!::me users:*:: sshd:*:: root:*:: # /etc/shadow sshd:!:12127:0:99999:7::: me:$1$M7Gr48k9$dvqriVYWfFVTZAPAMxcu.0:12127:0:99999:7::: root:$1$lajEeF2h$FliRNy8cPKARq8kHizZQP1:12125:0:99999:7::: When i start sshd in chroot environment and do : # ssh -vvv -l me 192.168.0.3 I have the ssh.log join with this mail. When i don't start sshd in the chroot environment and do the same as above. I have the ssh-nonchroot.log join with this mail too. Thanks for your help... Arnaud Fontaine ----------- * Empreinte de la clé : 1F88 8886 A466 EF50 0F29 CC13 E045 70B2 5306 691E * clé disponible sur : http://www.andesi.org/gpg/dsdebian@free.asc
Attachment:
ssh-nonchroot.log
Description: Binary data
Attachment:
ssh.log
Description: Binary data
Attachment:
pgplEU7gI0Wu9.pgp
Description: PGP signature