From owner-freebsd-questions Sun Oct 28 14:52: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fepZ.post.tele.dk (fepz.post.tele.dk [195.41.46.133]) by hub.freebsd.org (Postfix) with ESMTP id 7C53037B406 for ; Sun, 28 Oct 2001 14:52:02 -0800 (PST) Received: from arnold.neland.dk ([62.243.124.200]) by fepZ.post.tele.dk (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20011028225157.RTIY395.fepZ.post.tele.dk@arnold.neland.dk> for ; Sun, 28 Oct 2001 23:51:57 +0100 Received: from gina ([192.168.5.109]) by arnold.neland.dk (8.11.6/8.11.6) with SMTP id f9SMqBq47825 for ; Sun, 28 Oct 2001 23:52:14 +0100 (CET) (envelope-from leifn@neland.dk) Message-ID: <006301c15ffa$ab130e20$6d05a8c0@neland.dk> From: "Leif Neland" To: Subject: rdist, ssh, "stdin: is not a tty" Date: Sun, 28 Oct 2001 22:51:13 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 replicate some webservers to a backup-disk. with rdist over ssh. For some strange reason the backup-server says "stdin: is not a tty", when I execute a command like "ssh backupserver df", but it executes the command anyway. The backup server is a debian. If I do "rdist -P /usr/bin/ssh -c /usr backupserver:/backup/srv1/usr" from a FreeBSD, I also get "stdin: is not a tty", but the command executes as expected. If I do the same from a redhat, where I have compiled ssh and rdist myself, I get "LOCAL ERROR: Unexpected response: stdin: is not a tty" and rdist terminates. What causes the difference in behaviour? the redhat and freebsd has the same rdist: 6.1.15, and the freebsd-patches does not seem to have anything to do with this. Could it be that remote stderr gets sent to freebsd's stderr, and therefore not seen by rdist, while redhat gets remote stderr to local stdin? I have tried modifying rdist to ignore that, but my coding skills are too rusty. Leif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message