SSH From within a Jail

Xin LI delphij at
Sat Nov 12 21:51:11 GMT 2005

On 11/12/05, d c <casteld73 at> wrote:
> telnet 22
> Connected to
> Escape character is '^]'.
> SSH-2.0-OpenSSH_3.8.1p1 FreeBSD-20040419
> If I ssh into from the host system that the
> jail is running on I connect right in w/o any
> problems.
> Just the jails on the host giving me probs.
> I also tried recreating the /etc/ssh/ssh_hostkey but
> that didn;t help

Do you have /dev/*random available in the jail?  Typically there
should be /dev/random and a /dev/urandom which is a symbolic link to
/dev/random.  IIRC there is problem if you don't have these in the
jail if you do some ssh related operations...

Xin LI <delphij at>

More information about the freebsd-hackers mailing list