Rolf Berkenbosch said: > Below you find the error: > > [root@groningen mail]# ssh -v -v -l testtest localhost [snip] > testtest@localhost's password: > debug2: we sent a password packet, wait for reply > debug1: Authentication succeeded (password). > debug1: channel 0: new [client-session] > debug2: channel 0: send open > debug1: Entering interactive session. > debug2: callback start > debug2: ssh_session2_setup: id 0 > debug1: channel 0: request pty-req > debug1: channel 0: request shell > debug2: callback done > debug1: channel 0: open confirm rwindow 0 rmax 32768 > debug1: channel_free: channel 0: client-session, nchannels 1 > Connection to localhost closed by remote host. > Connection to localhost closed. > debug1: Transferred: stdin 0, stdout 0, stderr 81 bytes in 0.6 seconds > debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 131.3 > debug1: Exit status -1 > [root@groningen mail]# Since the connection was "closed by remote host", I would start by checking out what sshd is doing: Stop the sshd daemon: # /usr/sbin/service stop sshd Start sshd in debug mode: # /usr/sbin/sshd -dd Now try to connect and see what the server's debug output says. -- William Hooper