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.

This is [EMAIL PROTECTED] material, rather than [EMAIL PROTECTED]

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).

Cure is to tell sshd which interfaces to bind to explicitly.  So,
assuming your host environment uses and your jail uses, then add:

    ListenAddress ::1

to /etc/ssh/sshd_config in the host environment, and 


to /etc/ssh/sshd_config in the jail environment.



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to