From owner-freebsd-questions Fri Aug 31 19:25:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp02.mrf.mail.rcn.net (smtp02.mrf.mail.rcn.net [207.172.4.61]) by hub.freebsd.org (Postfix) with ESMTP id C6C3A37B403 for ; Fri, 31 Aug 2001 19:25:10 -0700 (PDT) Received: from 66-44-57-65.s319.tnt2.lnhva.md.dialup.rcn.com ([66.44.57.65] helo=sten.alder.net) by smtp02.mrf.mail.rcn.net with smtp (Exim 3.33 #9) id 15d0T7-0000rU-00 for freebsd-questions@freebsd.org; Fri, 31 Aug 2001 22:25:09 -0400 Received: by sten.alder.net (sSMTP sendmail emulation); Fri, 31 Aug 2001 22:25:01 -0400 Date: Fri, 31 Aug 2001 22:25:00 -0400 From: "Bob Hall" To: FreeBSD Subject: Setting TERM for ssh Message-ID: <20010831222500.A319@starpower.net> Mail-Followup-To: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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've been trying to log in to a distant account using ssh or telnet. I get the following error message: tcsh: No entry for terminal type "cons25" I've looked in the man pages, and it appears as though I'm supposed to be able to change TERM in .telnetrc for telnet and ~/.ssh/environment for ssh. (I'd prefer ssh, but I'd settle for telnet.) I've tried the following line: TERM=vt100; export TERM I've tried ansi instead of vt100, as per Leahy's book, I've tried it with a $ before TERM, I've tried it without export. ssh reads from the config file to get User, so it doesn't seem to be a persission issue. How do I reset TERM for ssh (or telnet) only, so the distant system will do something besides generate error messages? Since the documentation says that TERM can be reset for ssh, I'm assuming that it's possible and won't cause problems. Aside from the books, I've googled and been to the ssh mail archives, but I haven't found anything on this problem. 4.3 RELEASE Bob Hall -- Know thyself? Absurd direction! Bubbles bear no introspection. -Khushhal Khan Khatak To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message