Cameron Kerr wrote: > If you use -d, chances are it probably doesn't work correctly either, > but by then its already put itself into the background and so you see > it return. > > What does it '/usr/sbin/sshd' pause on when you run it inside strace? > I'm thinking it may be that its pausing because the system has run out > of entropy to give suitable random data for /dev/random. You could try > "stirring in" some entropy by doing something like moving the mouse a > lot, or doing a lot of disk IO on the host; the host kernel gathers > entropy from such events. > > Ideally though, you would have a hardware random number generator > (RNG) on your motherboard, which all(?) modern systems will have. > Ensure your host has support for this in the kernel (or loaded via > module). > > I'm not sure if the guest will source its /dev/random from the hosts / > dev/random or not.
That's what i thought as well, guessing by the random bytes error. If fed files to /dev/random and did this until the size was over 3000. Then i checked: >> cat /proc/sys/kernel/random/entropy_avail 3126 I then tried to start sshd but it still failed complaining about the random bytes. I would have thought having more than 3000 random bytes would be enough to start the service. When i start the sshd daemon in debug mode and try to connect to it, that works but when i quit, the sshd quits as well but this may be due to the debug mode. Regards, Benedict ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user