problem with setting up ssh chroot account

Garey Mills garey.mills at gmail.com
Wed Mar 28 07:41:31 EST 2012


On Tue, Mar 27, 2012 at 1:28 PM, Ángel González <keisial at gmail.com> wrote:

> On 27/03/12 19:53, Garey Mills wrote:
> > Dag-Erling -
> >
> >     Thanks for the response. Definitely changed the error message. Now
> I'm
> > getting
> >
> >             Mar 27 11:34:52 dlab-gis sshd[11121]: error: open /dev/tty
> > failed - could not set controlling tty: Permission denied
> >
> >     Any thoughts?
> >
> > Garey Mills
> Well, what are the permissions of the /dev/tty device inside the chroot?
> Is it indeed a character device with major number 5 and minor 0?
>
> It is supposed to link the process with its controlling terminal.
>
>
crw-rw-rw-. 1 root root 5, 0 Mar 19 14:29 tty

-- 
The brain is not where you think.
Me


More information about the openssh-unix-dev mailing list