From owner-freebsd-questions Wed Feb 6 12:53: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from chmls20.mediaone.net (chmls20.ne.ipsvc.net [24.147.1.156]) by hub.freebsd.org (Postfix) with ESMTP id 2AFE737B42A for ; Wed, 6 Feb 2002 12:52:50 -0800 (PST) Received: from mercedes.local.domain (h000103d2e005.ne.mediaone.net [66.31.215.27]) by chmls20.mediaone.net (8.11.1/8.11.1) with SMTP id g16Ksjx09406 for ; Wed, 6 Feb 2002 15:54:46 -0500 (EST) Content-Type: text/plain; charset="iso-8859-1" From: Chris Browning Reply-To: brownicm@prokyon.com To: freebsd-questions@freebsd.org Subject: sshd warning: Remote host failed or refused to allocate a pseudo tty. Date: Wed, 6 Feb 2002 15:56:03 -0500 X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Message-Id: <02020615560300.03010@mercedes.local.domain> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm trying to set up ssh into my firewall from a local machine. The firewall rules are set up. sshd seems to be set up; I have it running successfully on other machines. I can log into the firewall but get this: brownicm@molly$ ssh brownicm@192.168.1.21 brownicm@192.168.1.21's password: Warning: Remote host failed or refused to allocate a pseudo tty. Warning: no access to tty (Bad file descriptor). Thus no job control in this shell. It looks like sshd authenticates the request but the system won't allocate a tty. When I originally built the firewall I edited /etc/ttys to remove all the ttys I wouldn't be using (I thought). I commented out all but two virtual terminals, all the dial-up terminals and all the pseudo terminals. I have replaced a couple of pty's and a couple more ttyv's figuring that was the problem. That didn't help. Anyone have any ideas? Did I edit some other file I've forgotten? Chris Browning brownicm@prokyon.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message