Ciao a tutti,ho un problema nel chrootare gli utenti sulla mia lenny.
Ho seguito alla lettera questa guida http://www.howtoforge.com/chrooted-ssh-sftp-tutorial-debian-lenny fino al punto 3. C'รจ qualcosa di sbagliato? Ho provato anche a cambiare il parametro di chroot a "/home/%u" ma niente... Tuttavia quando provo a connettermi ecco il responso:fa...@fabio-lnx:~$ ssh testu...@192.168.0.21testuser@192.168.0.21's password: /bin/bash: No such file or directoryConnection to 192.168.0.21 closed.fa...@fabio-lnx:~$
verboso:testu...@192.168.0.21's password: debug1: Authentication succeeded (password).debug1: channel 0: new [client-session]debug1: Requesting no-more-sessi...@openssh.comdebug1: Entering interactive session.debug1: Sending environment.debug1: Sending env LANG = it_IT.UTF-8debug1: client_input_channel_req: channel 0 rtype exit-status reply 0debug1: client_input_channel_req: channel 0 rtype e...@openssh.com reply 0/bin/bash: No such file or directorydebug1: channel 0: free: client-session, nchannels 1Connection to 192.168.0.21 closed.Transferred: sent 1696, received 2040 bytes, in 0.0 secondsBytes per second: sent 446802.3, received 537427.3debug1: Exit status 1fa...@fabio-lnx:~$
Se cambio l'sftp con "internal-sftp" rimane in stallo dopo la password. L'utente ed il gruppo esistono e sono associati. grazie in anticipo f -- <Fabio Mora> Cel.: 340-1504097 - eMail: fabio...@gmail.com - Libera il pianeta! Usa Linux! http://www.gallug.it - http://www.ubuntu-it.org/
signature.asc
Description: OpenPGP digital signature