Q:

SSH login disconnect with Operation not permitted [preauth]

I have SSH server running on an Android phone under GNURoot app with image file for wheezy. The sshd -d on the phone says:
Server listening on port 2233
and after I try to login the connection established and then I get:
chroot(/var/run/sshd)" Operation not permitted [preauth] 
do_cleanup [preauth] 
do_cleanup 
Killing privsep child 18597
The ssh client on my computer says:
Read from socket failed: Connection reset by peer
Anybody has any idea what went wrong?

A:

Use dropbear instead.
apt-get install dropbear
I cannot find any way to avoid chroot error, so I suggest you another ssh server. It works well. :-)

