From owner-freebsd-bugs Tue Sep 4 4:58:23 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from frux.iptelecom.net.ua (frux.iptelecom.net.ua [212.9.224.77]) by hub.freebsd.org (Postfix) with ESMTP id E118D37B40E for ; Tue, 4 Sep 2001 04:58:13 -0700 (PDT) Received: from frux.iptelecom.net.ua (frux.iptelecom.net.ua [212.9.224.77]) by frux.iptelecom.net.ua (8.11.6/8.9.3) with ESMTP id f84BtuZ67809; Tue, 4 Sep 2001 14:58:18 +0300 (EEST) (envelope-from blaze@iptcom.net) Date: Tue, 4 Sep 2001 14:55:56 +0300 (EEST) From: "Alexey N. Nazarov" Reply-To: "Alexey N. Nazarov" To: Peter Pentchev Cc: Subject: Re: question! In-Reply-To: <20010904134818.I61594@ringworld.oblivion.bg> Message-ID: <20010904143413.S48123-100000@frux.iptelecom.net.ua> Organization: IPTelecom Ltd. X-Phone: 380 (44) 238-8989 X-HomePage: http://blaze.com.ua MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Good daytime. Thanks Peter, i have in my ~/.tcshrc only one program - UPTIME! All work now! Question: This is a BUG or documented BUG aka Ficha ? ;-) PP>On Tue, Sep 04, 2001 at 01:41:45PM +0300, Alexey N. Nazarov wrote: PP>> PP>> Good daytime. PP>> PP>> Problem: I want do Secure Copy from Host To Host with scp PP>> PP>> $USER is not root PP>> PP>> scp $FILENAME $USER@$HOST: PP>> then type my password for $HOST and see sessage PP>> 'ttyname: Inappropriate ioctl for device' PP>> PP>> PP>> 10:50 [blaze@frux:p6][~] uname -a PP>> FreeBSD frux.iptelecom.net.ua 4.4-RC FreeBSD 4.4-RC #1: Thu Aug 30 PP>> 21:38:27 EEST 2001 PP>> root@frux.iptelecom.net.ua:/usr/src/sys/compile/FRUX i386 PP>> PP>> How i can fix it? PP> PP>Do you have a ~/.profile, ~/.cshrc, ~/.bash_profile, ~/.bashrc or PP>some such shell startup file for the $USER account on $HOST, PP>that might call some external program which would want to call PP>ttyname? PP> PP>I had similar problems when I had put a 'fortune' call in .bashrc, PP>which got invoked for each and every login, including non-interactive PP>logins used for scp; the fortune output really mangled the scp protocol.. PP> PP>G'luck, PP>Peter -- [BLAZE-UANIC] [FRUX-RIPE] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message