Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2001 14:55:56 +0300 (EEST)
From:      "Alexey N. Nazarov" <blaze@iptcom.net>
To:        Peter Pentchev <roam@ringlet.net>
Cc:        <freebsd-bugs@FreeBSD.ORG>
Subject:   Re: question!
Message-ID:  <20010904143413.S48123-100000@frux.iptelecom.net.ua>
In-Reply-To: <20010904134818.I61594@ringworld.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010904143413.S48123-100000>