> -----Original Message-----
> From: Pat Lashley [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 16, 2003 11:18
> To: [EMAIL PROTECTED]; maillist bsd
> Cc: [EMAIL PROTECTED]
> Subject: Re: My jail can not ssh..
> 
> 
> --On Tuesday, September 16, 2003 09:07:15 +0100 Matthew Seaman 
> <[EMAIL PROTECTED]> wrote:
> 
> > On Tue, Sep 16, 2003 at 04:16:31AM +0800, maillist bsd wrote:
> >
> >> I am just testing jail on my FreeBSD4.8-stable box, i 
> found i can not
> >> ssh to the jail environment, but i can telnet to jail 
> environment, the
> >> sshd is running both inside and outside jail.  What's the problem.
> >
> > I suspect that your problem is that the sshd(8) in your 
> host and jail
> > environments are both binding to IN_ADDR_ANY.  That means 
> both daemons
> > are fighting over the loopback interface (at least).
> 
> Another subtle thing that can cause problem is if the jailed SSH
> can't do DNS resolution.  Telnet in and run your favorite DNS
> query app (host, dnsip, dig, nslookup, etc.).  If it fails, check
> resolv.conf in the jail; and check the access controls on your
> name server

And yet another problem is that ssh needs /dev/[u]random.
Try mounting devfs in the jail's /dev and see if it works for you.
The error message is something along the line of "PRNG not
initialized".
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to